【问题标题】:Error MSB8036: The windows SDK version 10.0.17763.0 was not found错误 MSB8036:未找到 windows SDK 版本 10.0.17763.0
【发布时间】:2020-07-20 13:15:32
【问题描述】:

操作系统:Windows 10 64 位 平台:Visual Studio 2019

我正在编译 C++ DLL 项目。 虽然我安装了“Windows 10 SDK (10.0.17763)”和“Visual Studio SDK”,但Visual Studio 看不到SDK。 我尝试“重新定位解决方案”,但没有 Windows SDK 列表。 WindowsSdkDir、WindowsSdkDir_10 环境变量为空。

如何让 Visual Studio 2019 检测 Windows SDK 的安装并将其关联到我的项目

【问题讨论】:

  • 项目设置中有SDK选择。
  • 在使用最高安装 SDK 版本的 csproj 中将 WindowsTargetPlatformVersion 设置为 10.0。

标签: c++ sdk windows-10 visual-studio-2019


【解决方案1】:

通常您可以在项目属性(右键单击、属性)中选择特定的 Windows SDK(确切版本)或“最新”SDK。

我认为您的项目使用了一些未安装在您的机器上的特定 Windows SDK 版本。要使您的项目独立于 Windows SDK 版本,您应该转到属性页面并选择“Windows 10 SDK(最新)” - 或类似

【讨论】:

    猜你喜欢
    • 2017-09-28
    • 2021-03-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-10-13
    • 1970-01-01
    • 2013-11-24
    • 1970-01-01
    相关资源
    最近更新 更多