Quantcast
Channel: Microsoft Windows SDK Blog
Viewing all articles
Browse latest Browse all 35

SDK Workaround: VCProj Files Require Upgrade Prior to Building

$
0
0

This workaround applies to:

 

·         The prerelease Windows SDK for Windows Server 2008 and .Net Framework 3.5 (RC0), September, 2007

·         The prerelease Windows SDK for Windows Server 2008 and .Net Framework 3.5 (IDS04), July, 2007

 

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


Viewing all articles
Browse latest Browse all 35

Latest Images

Trending Articles





Latest Images