简体   繁体   中英

Windows UWP app for Windows 8 and 10 both

I am new to Windows app development and going to develop the first Windows app. Our client wants an UWP app that supports both Windows 8 and 10. I am planning to use a Windows 8.1 machine with Visual studio 2015 for development.

When I create a project for that should I create it as a Windows 8 Universal app or a Windows Universal app? From what I have read if I create a Windows Universal app I think it'll work only on Windows 10 only. So I guess I should create it as a Windows 8 app. Will that work in Windows 10 without any changes? Will that be available for both Windows 8 and 10 appstores?

Please share your knowledge and experience about this. Thanks.

If you want a single project, you have to use a Windows 8.1 project template. See screenshot below. It's a little confusing as this template is also called "Universal Windows" but mind the version number 8.1. It's in the template subfolder Windows 8. It will run on Windows 8.1 and Windows 10 but not on Windows 8. You can make it available to both platforms via Windows appstore. 在此处输入图片说明

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