简体   繁体   English

构建与8.1和10兼容的Windows应用

[英]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可以构建哪些应用程序模型的摘要:

  • VS2019 - UWP (Except for Win10Mobile) VS2019-UWP(Win10Mobile除外)
  • VS2017 - UWP VS2017-UWP
  • VS2015 - UWP, Win8.1 StoreApp, WP8/8.1 StoreApp VS2015-UWP,Win8.1 StoreApp,WP8 / 8.1 StoreApp
  • VS2013 - Win8/8.1 StoreApp, WP8/8.1 StoreAp VS2013-Win8 / 8.1 StoreApp,WP8 / 8.1 StoreAp

(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.

相关问题 是否可以在 Windows 8/8.1/10 Store App 的 Cordova 应用程序中使用 chrome/chromium webview? - It is possible to use chrome / chromium webview in Cordova application for Windows 8/8.1/10 Store App? 外部脚本在Windows Phone App 8.1中不起作用 - External scripts not working in Windows Phone App 8.1 WebView进度环Windows 8.1应用程序 - WebView Progress ring windows 8.1 app Windows 8.1商店应用程序WebView缩放问题-涉及Caliburn Micro - Windows 8.1 store app WebView zoom issues - Caliburn Micro involved XAML和C#WebView在Windows Phone 8.1 App中不起作用 - XAML and C# WebView not working in Windows Phone 8.1 App 如何为Windows Phone 8.1 Runtime通用应用程序禁用Webview缓存? - How to disable webview cache for Windows Phone 8.1 Runtime universal app? 从Windows 8.1 App中的解决方案目录访问MHT文件 - Access MHT File from Solution Directory in Windows 8.1 App 在Windows 8.1 Store HTML5应用程序中从WebView检索数据 - Retrieving data from webview in Windows 8.1 Store HTML5 app Windows 8.1应用程序WebView无法在启用专用网络功能的情况下重定向 - Windows 8.1 app WebView cannot redirect with Private Networks capability enabled Windows Phone 8.1 WebView中的消息对话框“在商店中搜索应用程序?”是什么? - What is the message dialog “Search for app in the Store?” in Windows Phone 8.1 WebView
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM