In order to build the samples in the SDK build environment or in Visual Studio 2008, the Win32 samples project files must be upgraded. The VC++ compilers in the SDK are VC 9.0 – the same compilers that ship in Visual Studio 2008. The sample project files in the SDK are written for VC 8.0 compilers – the compilers that ship in Visual Studio 2005. This allows users to build the samples in Visual Studio 2005. When building a project file in the SDK Build environment, you may receive this error:
vcbuild.exe : error VCBLD0010: Project 'foo.vcproj' requires upgrade. Use 'vcbuild /upgrade' or 'devenv /upgrade' to upgrade the project.
To workaround this issue, follow the prompt in the command window and type: 'vcbuild /upgrade' or 'devenv /upgrade' to upgrade the project.
.NET Framework (managed) sample vcproject files cannot be upgraded using the workaround above. These must be upgraded using vcbuild /upgrade /overrideRefVer “SampleName.vcproj” because upgrade /overriderefver indicates that it will use .Net framework 3.5.
Windows SDK Team