[英]Build Windows app compatible for 8.1 and 10
Background: 背景:
I am new to Windows app development. 我是Windows应用程序开发的新手。
I have installed Visual Studio 2017 Enterprise edition free trial on two machines. 我已经在两台计算机上安装了Visual Studio 2017 Enterprise Edition免费试用版。 (One is running win 8.1 OS and other having win 10 OS)
(一个正在运行win 8.1操作系统,另一个正在运行win 10操作系统)
Then, downloaded windows 10 sdk and mobile emulators. 然后,下载Windows 10 SDK和移动仿真器。 I have created a webview based UWP app which is targeting windows 10.
我创建了一个基于webview的UWP应用,该应用针对Windows 10。
Problem: 问题:
Built UWP app is running perfectly on Windows 10 OS with mobile emulators target version windows 10. 内置的UWP应用在具有目标版本Windows 10移动模拟器的Windows 10 OS上完美运行。
Now, I want the app to run on both windows 8, 8.1 and windows 10 phones. 现在,我希望该应用程序可以在Windows 8、8.1和Windows 10手机上运行。
I have installed windows 10 and windows 8.1 sdk on both machines. 我在两台计算机上都安装了Windows 10和Windows 8.1 SDK。
But, it is not allowing me to create a new project to specify minimum sdk version as 8 or 8.1. 但是,不允许我创建一个新项目以将sdk的最低版本指定为8或8.1。
Is there any way to target both 8.1 and 10 versions for mobile with single app, with minimum efforts? 有什么方法可以用最少的精力同时针对移动应用程序的8.1和10版本定位?
Please suggest. 请提出建议。
Here is a summary that which VS can build which app models: 以下是哪个VS可以构建哪些应用程序模型的摘要:
(Assume that dev system is Win10 and ignoring the Win32 or others) (假设开发系统是Win10,而忽略了Win32或其他系统)
(Note - To use the latest Win10 FallCU SDK, you need to use VS2017 or 2019) (注意-要使用最新的Win10 FallCU SDK,您需要使用VS2017或2019)
For detail, please refer the vs compatibility page: 有关详细信息,请参阅vs兼容性页面:
You need to create an app using Windows 8 SDK if you want to target Windows 8 and above versions. 如果要定位Windows 8及更高版本,则需要使用Windows 8 SDK创建应用。
UWP will not work for you because minimum requirement for UWP is Windows 10. UWP不适用于您,因为UWP的最低要求是Windows 10。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.