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

·         The Windows SDK Update for Windows Vista (RTM), March, 2007

 

Some samples may fail to compile in the SDK build environment with the following error:

 

vcbuild.exe : error VCBLD0004: Project 'C:\buildall_hxs\local\sampleexecutables\Technologies\DirectoryServices\BEREncoding\CP\BerEncoding\BerEncoding.vcproj' does not contain a configuration called 'Debug|Itanium'

 

This error occurs because platform configurations are listed alphabetically by default in a project or solution file created by Visual Studio.  If Debug|Itanium is a supported configuration, it will be listed first in the samples’ solution and/or project files.   

 

To workaround this issue, use a configuration switch to specify what platform you wish to build for:

 

Msbuild *.sln /p:platform=Win32

Msbuild *.sln /p:platform=X64

 

VCbuild *.vcproj /platform:Win32

VCbuild *.vcproj /platform:X64