Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
588 views
in Technique[技术] by (71.8m points)

c# - How to create an app for Windows XP using Visual Studio Express 2012 for Windows 8

I have very little knowledge on apps for Desktop.

I created a Simple app for Windows 8 using the free Visual Studio Express 2012 for Windows 8 (in C#, XAML).

Now I am wanting that app to run on other Windows platforms like Windows XP, Windows 7 etc. I understand, that Metro apps can't run on Windows 7 or XP, but All I want is stripped down version of my app which runs on Windows 7 and XP as well.

I am looking for options like Project->News->Target Windows XP... I also have another question, Can we use XAML,.CS approach even for Windows XP.

How can I port my existing Windows 8 app to WIndows XP, 7 with minimal effort and using C# and making use of current set up ( Visual Studio Express 2012) ?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

First of all choose .Net Framework 4.0 as a target framework. (This window appears after clicking create new project)

enter image description here

You can either choose WPF application or Windows Forms Application. But WPF is recommended if you know how to work with .Xaml


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...