我可以在 Visual Studio 2017 年为 UWP 项目定位 10.0.10586 版本吗?

Can I target 10.0.10586 version for UWP project in Visual Studio 2017?

我正在尝试在 VS 2017 中创建一个新的 UWP 项目。当我选择 Anniversary 或 Cretors Update 作为目标平台版本时没问题。但我需要 10586 作为目标。在这种情况下,我会收到消息:

The project requires a platform SDK (10.0.10586.0) that is not installed. Please visit the following link for more information: https://go.microsoft.com/fwlink/?linkid=824810

安装了提到的SDK,因为我之前也安装了VS 2015。在 VS 2015 中,我的目标是 10.0.10586 没有问题。我试过重新安装 SDK 但没有成功。 是否可以在 Vs 2017 中以 10586 为目标?

应该有用,对我有用。打开 Visual Studio 安装程序并从那里安装 SDK。

如之前的回答所述,您只需按照以下步骤操作:

这对我有用:

1) 打开VS2017

2) CTRL+Q

3) 搜索 10.0.14393.0

4) 运行 安装程序

参考:https://developercommunity.visualstudio.com/content/problem/81727/vs-2017-unable-to-create-template-10-app-error-thi.html