I reinstalled VS 2013 and now it is impossible to build a project that built fine previously, with errors like
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(362,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version number.
1>TRACKER : error TRK0005: Failed to locate: "midl.exe". The system cannot find the file specified.
We have found what may be causing this – some of the build macros now show the wrong path for the Windows SDK or none at all:
:
SDKs are installed under C:\Program Files (x86)\Windows Kits where they have been right along. How can I correct this?