在注册表中找到:HKEY_CURRENT_USER/Software/Microsoft/Microsoft SDKs/Windows
在windows项中如果存在以下两项就修改为下列示例,如果没有新建如下两项并设置相应值:
X86系统:
"CurrentVersion"="v7.0a"
"CurrentInstallFolder"="C://Program Files//Microsoft SDKs//Windows//v7.0A//"
X64系统:
"CurrentVersion"="v7.0a"
"CurrentInstallFolder"="C://Program Files (x86)//Microsoft SDKs//Windows//v7.0A//"