找不到Windows SDK版本7.0

时间:2017-06-30 13:22:18

标签: c++ visual-studio-2017

我有一个控制台C ++项目,它使用Visual Studio 2017社区版使用Boost和Catch。它昨晚很好,今天它说,

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5): error MSB8036: The Windows SDK version 7.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".

具体来说,这意味着什么?

The Windows SDK version 7.0 was not found. Install the required version of Windows SDK

我修复了Visual Studio,但是没有工作,所以它不是Visual Studio。我可以编译其他C ++项目。

Web搜索实际上找不到Windows SDK 7.0版,Windows 7适用于Windows 7.

我对这个错误完全感到困惑。

1 个答案:

答案 0 :(得分:2)

我明白了。非常愚蠢的问题。

第二行“Windows SDK版本”已经以某种方式获得了7个。

enter image description here