uwp - 如何选择 Windows 10 SDK 的最低版本和目标版本

标签 uwp windows-10-universal

有几个可用的 Windows UWP SDK here .我想开始开发 UWP 应用程序,选择 SDK 版本让我有点困惑。
如果我使用像 这样的 SDK Windows 10 SDK (10586) 这是否意味着我的应用程序仅适用于 Windows 10 操作系统内部版本 10586 及更高版本?并且不适用于 Windows 10 OS build 10240?

最佳答案

当您安装 Windows 10 SDK 版本 10586 时,您将能够将所有功能添加到您的应用程序中,直到该 SDK 版本包括所有以前的功能。

在创建新的 UWP 项目时,系统会要求您提供支持您的应用程序的目标和最低 Windows 10 版本以及目标版本(如下所示):

enter image description here

在此图中,您可以看到该应用程序的目标版本为 14393,但最小值为 10586,因此该应用程序将适用于大于或等于 10586 的所有 Windows 版本。

Thus it depends on which version of windows you select when creating a project . Having a SDK version greater than what you are targeting will not restrict you from developing application for lower versions , but the newly introduced features which are specific to the new version will not be available in the application if it is targeted for lower versions of windows.



更多信息:Choose a UWP version (MSDN)

关于uwp - 如何选择 Windows 10 SDK 的最低版本和目标版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45541377/

相关文章:

c# - 文本 block 边距导致文本越界

c# - FfmpegInterop UWP C#

c# - Microsoft 命名空间中不存在 ApplicationInsight

c# - 检测 UWP 应用中存在哪些 API

c# - 如何在 StackPanel 或 ListView 中叠加项目?

c# - 如何测量 UWP 应用程序中的文本大小?

uwp - 将NavigationView添加到XAML : "Cannot find a Resource with the Name/Key NavigationViewItemDefaultStyle"

windows - UWP 在 ItemsControl 项目上添加动画

c# - 安装 UWP 通知 nuget 包