VS2015 MSB8036 8.1SDK 问题

VS2015 已经装了win10 sdk 14393,切换为8.1不能编译,提示如下错误

MSB8036 The Windows SDK version 8.1 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".

解决办法:实测

卸载win10sdk,独立win10sdk以及VS2015中均修改为卸载,重新安装8.1sdk或对8.1sdk使用安装包修复,修复后,VS2015中8.1可正常编译,之后再修改VS2015,自定义安装win10sdk,解决;

之前未能解决问题的操作:

安装程序修复VS2015不能解决该问题;

不卸载win10sdk,重新安装8.1 SDK不能解决该问题;

重新安装win10SDK不能解决;

原文地址:https://www.cnblogs.com/fundou/p/7183863.html