2016-12-28 11 views
0

我在两台计算机上都使用VisualStudio 2015版本14.0.24720.00 Update 1,我使用它们两个来处理项目(不是同时),但现在当我打开我的笔记本电脑的形式来编辑它的设计就说明我这个错误:VisualStudio无法加载文件或程序集

Could not load file or assembly 'Microsoft.VisualStudio.LanguageServices, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

我还没有找到任何解决这个问题,我已经尝试过删除此文件夹(C:\Users\%username%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache)的内容被另一个线程的通知在stackoverflow上。

回答

1

你可以请检查你是否指的是DLL的强名或不是? 即检查系统上的dll的名称和版本以及csproj中引用的那个。

如果强名称不一致,这意味着您需要更正您的引用或需要安装该版本1.1.0.0的dll

相关问题