I\'ve used VS2008 on my development machine for some years now, with windows SDK v7.1.
I\'ve installed VS2010, and it\'s using the Windows SDK v7.0a, but I need it t
For all those using Visual Studio Command Prompt I mention you have to modify VCVarsQueryRegistry.bat file (it's being called (indirectly) by %VSINSTALLDIR%\VC\vcvarsall.bat) which is placed in %VSINSTALLDIR%\Common7\Tools folder (typicaly C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools) by modifying line 26 from
@for /F "tokens=1,2*" %%i in ('reg query "%1\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A" /v "InstallationFolder"') DO (
to
@for /F "tokens=1,2*" %%i in ('reg query "%1\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1" /v "InstallationFolder"') DO (
I wish someone from Microsoft explained why WindowsSdkVer.exe doesn't work for VS 2010...