0
自从我的最新Windows更新(系统还原无法撤消)后,我无法使用visual studio 2010加载任何项目。项目呈灰色(不可用)当我尝试重新加载他们,我得到的错误:Visual Studio无法读取项目文件(已有)
C:\Users\Benoit\Documents\Visual Studio 2010\Projects\Test123\Test123\Test123.csproj : error : Unable to read the project file 'Test123.csproj'. Could not load file or assembly 'Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
我试图创建新项目:相同的错误
我尝试创建不同类型的项目(命令提示符的Silverlight,Windows Phone的):同样的错误
删除.suo和.user文件没有查询NGE什么
我没有与Windows Vista的移动项目
使用Visual Studio 2010
看起来像你的GAC变得棘手。你可以尝试卸载并重新安装.NET 4.0 –
这工作! (只需要实际修复)。 编辑:看起来不像我可以标记评论作为答案:S – user2868068
很高兴这很容易。我已经把它作为一个答案,所以也许其他人有同样的问题可以找到它 –