Could not load file or assembly 'Microsoft.CodeAnalysis, version= 1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependenc

前端 未结 16 1427
死守一世寂寞
死守一世寂寞 2020-11-29 05:18

An update occurred last night and now I find myself unable to do a ctrl + \'.\' for code suggestions in VS 2015. An error message comes up saying the following:

16条回答
  •  半阙折子戏
    2020-11-29 05:36

    I was also facing same issue, Try installing Microsoft.CodeAnalysis.CSharp nuget package. And if its not resolved, check version of Microsoft.Net.Compilers in your project, I was having version as 1.0.0 which was causing issue so updated Microsoft.Net.Compilers nuget to v1.3.2.

    Found solution here : Github discussion

提交回复
热议问题