I cannot build my project in Visual Studio 2012. The error is:
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V110Microsoft.CppBuild.targets(344,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version number."
I have installed Windows SDK, and have tried to reinstall and to repair, and have even tried to enter the registry string key "WindowsSDKDir" to the registry. (HKLM/SOFTWARE/Wow6432Node/Microsoft/Microsoft SDKs/v7.1 with value C:Program FilesMicrosoft SDKsWindowsv7.1).`
Is it a registry issue, or something else? I've tried searching for those registry keys and re-installing my Windows SDK but neither helped.
See Question&Answers more detail:os