I just installed visual studio 2012 and tried running my C++ project on it. compilation fails due to missing \"SDKDDKVer.h\", \"windows.h\", etc.
I installed the win
The same problem also exists when you upgrade a VS2010 project to VS2012.
To me, manually fixing the include dirs (see step 1 in previous answer) took care of the problem.
It's a bug caused by VS2012 using the configuration of VS2010.
You have to manually fix the include libraries to get around this (through the property manager).
The substantial modifications needed are :
adding $(WindowsSDK_IncludePath)
to the include paths
adding $(WindowsSDK_LibraryPath_x86)
or $(WindowsSDK_LibraryPath_x64)
to the library path depending if your building for x84 or x64.