Freigeben über


SDK Workaround: VCProj files that depend on ATL/MFC fail, even when VS installed

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

Visual Studio 2005 .vcproj files that have a dependency on ATL/MFC will fail to compile, generating an error that required headers files are not found. For example:

Failed to load system project defaults file 'C:\Program Files\Microsoft SDKs\Windows\V6.1\VC\Bin\VCProjectDefaults\ATLStatic.vsprops'. The project cannot load without this file installed. Please re-install the product.

To work around this issue, open the VCProjectEngine.dll.config file, by default located in C:\Program Files\Microsoft SDKs\Windows\V6.1\VC\bin and change lines containing:

$(VCINSTALLDIR)\

To

$(VCINSTALLDIR)

Note, the trailing ‘\’ has been removed.