简体   繁体   中英

Can i develop Windows 7 desktop apps using Windows 10?

Is it possible to develop desktop applications for Windows 7 using a machine running Windows 10? I am trying to use WPF for developing the app and have Visual Studio 2015 installed on my device.

I am aware that its not possible to develop Windows 8/10 stores apps on Windows 7 but am not sure if its possible the other way round?

是的,没有理由不能这样做。

you can develop a backward compatible WPF app on Windows 10 as long as you don't run code that uses APIs introduced in Windows 10 when it runs on another version of Windows.

You can detect Windows version or better detect features to ensure your app will use the right API depending on the OS it runs.

Check the System.Environment.OSVersion API to detect Windows version

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM