windows开发笔记——VS 2019遇到windows SDK找不到

遇到的错误

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\
VC\v160\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows 
SDK version 10.0.14393.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".

解决办法

1.打开Visual Studio Installer

windows开发笔记——VS 2019遇到windows SDK找不到_第1张图片

2.修改界面中操作

windows开发笔记——VS 2019遇到windows SDK找不到_第2张图片
按照上述的操作,就可以解决windows SDK找不到的问题。

你可能感兴趣的:(Windows)