简体   繁体   English

适用于Windows 8和Windows 10的Windows UWP应用

[英]Windows UWP app for Windows 8 and 10 both

I am new to Windows app development and going to develop the first Windows app. 我是Windows应用程序开发的新手,将要开发第一个Windows应用程序。 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. 我们的客户想要一个同时支持Windows 8和10的UWP应用。我计划将Windows 8.1计算机与Visual Studio 2015一起使用进行开发。

When I create a project for that should I create it as a Windows 8 Universal app or a Windows Universal app? 当我为此创建项目时,应该将其创建为Windows 8 Universal应用程序还是Windows Universal应用程序? From what I have read if I create a Windows Universal app I think it'll work only on Windows 10 only. 从我阅读过的内容来看,如果我创建Windows Universal应用程序,我认为它只能在Windows 10上运行。 So I guess I should create it as a Windows 8 app. 因此,我想应该将其创建为Windows 8应用程序。 Will that work in Windows 10 without any changes? 可以在Windows 10中正常运行吗? Will that be available for both Windows 8 and 10 appstores? Windows 8和10应用商店都可以使用吗?

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. 如果要单个项目,则必须使用Windows 8.1项目模板。 See screenshot below. 请参见下面的屏幕截图。 It's a little confusing as this template is also called "Universal Windows" but mind the version number 8.1. 有点混乱,因为此模板也称为“通用Windows”,但请注意版本号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. 它位于模板子文件夹Windows 8中。它将在Windows 8.1和Windows 10上运行,但不能在Windows 8上运行。您可以通过Windows应用商店将其提供给两个平台使用。 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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