我在Visual Studio 2010中遇到问题。问题在我休眠计算机后开始,有一天我打开Visual Studio时遇到了查找现有项目的问题。
问题发生后,我尝试使用打开现有项目对话框重建我的项目,出现如下错误消息
c:\windows\microsoft.net\framework\v4.0.30319\Microsoft.Common.targets(1347,130):
The project file could no be loaded.The 'FindDependencies'
start tag on line 1347
position 14 does not match the end tag of '_FindDependencies'.
Line 1347, position 130
我尝试停用扩展程序,删除当前设置但没有解决方案
怎样才能解决这个问题?
答案 0 :(得分:2)
文件可能已损坏。您的开始标记与应有的不同(缺少下划线)。 我在我的.NET目标文件中有这个:
<_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false</_FindDependencies>
我建议重新安装.NET 4.0,你不知道还有什么可能是错的。
答案 1 :(得分:2)
我遇到了同样的问题,这正是你所指出的。 “FindDependencies”标记前面缺少下划线。在将下划线添加到位后,加载项目时没有任何错误。我不需要在我的情况下重新安装.NET 4.0,但是Tomas提到可能存在其他可能的问题。