用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文件中。
posted on 2009-08-21 09:43
Bluesea 閱讀(923)
評論(0) 編輯 收藏 引用 所屬分類:
編程工具