【问题标题】:Visual Studio 2015 WindowsForms Application could not load file or assemblyVisual Studio 2015 WindowsForms 应用程序无法加载文件或程序集
【发布时间】:2017-01-08 19:03:12
【问题描述】:

我尝试启动新项目并收到此错误消息

留言

无法加载文件或程序集“Microsoft.VisualStudio.LanguageServices, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或其依赖项之一。找到的程序集的清单定义与程序集引用不匹配。 (HRESULT 异常:0x80131040)

有什么解决办法吗?我尝试更新、修改 Visual Studio、更改我用谷歌搜索的 app.config 中的一些代码,但到目前为止还没有解决方案。无论我想在哪里打开 Form1.cs,我都会收到消息。顺便说一句,我可以毫无问题地关闭 VS,我读过一些有这个问题。

【问题讨论】:

    标签: c# winforms visual-studio visual-studio-2015 windows-forms-designer


    【解决方案1】:

    我遇到了同样的问题。过了一会儿,我意识到这是由于包“代码分析包”未能加载。我使用来自“Packages not loading after installing visual studio 2015 RTM”的建议来清除“ComponentModelCache”文件夹的内容。就是这样。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-11
      • 1970-01-01
      • 1970-01-01
      • 2014-02-12
      • 2017-12-09
      相关资源
      最近更新 更多