[原]VS2005 load project error

[原]VS2005 load project error

用VS2005加载工程时,有时会遇到如下错误:

The following error has occurred during XML parsing:

File: H:\JDUtils\Vidres\Vidres.vcproj
Line: 29
Column: 4
Error Message:
Property sheet file '..\..\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults\UpgradeFromVC71.vsprops' was not found or failed to load.
The file 'H:\JDUtils\Vidres\Vidres.vcproj' has failed to load.

这似乎是VC8的一个bug, 解决办法就是将vcproj文件中包含"InheritedPropertySheets"的行删除,再重新加载即可。
还有个办法是看一下能正确加载的工程的vcproj文件中InheritedPropertySheets的值是多少,然后将这个值复制到加载错误的vcproj文件中。

你可能感兴趣的:([原]VS2005 load project error)