2016-12-28 41 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

相關問題