3

I have this kind of error in visual studio

could not load file or assembly "Microsoft.Code.Analysis, Version=1.3.1.0, 
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies"

what can I do?

refactor quick actions and refactoring error img1 refactor quick actions and refactoring error img2

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
Oguz Kurun
  • 57
  • 1
  • 8
  • Do you have reference on it at your References in Solution Explorer? – Willy David Jr Mar 04 '17 at 09:10
  • 1
    possible duplicate from http://stackoverflow.com/questions/42536506/could-not-load-file-or-assembly-microsoft-codeanalysis-version-1-3-1-0-cultu/42536507#42536507 – Xavave Mar 04 '17 at 09:15
  • Possible duplicate of [Could not load file or assembly 'Microsoft.CodeAnalysis, version= 1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependenc](https://stackoverflow.com/questions/42536506/could-not-load-file-or-assembly-microsoft-codeanalysis-version-1-3-1-0-cultu) – Wolfsblvt May 31 '17 at 12:42

1 Answers1

2

Thanks for your comments,

I have done through;

Basically, in the Visual Studio menu select:

Tools-> Nuget Package Manager -> Package Manager Console

In the console that appears at the bottom of Visual Studio run this command:

Install-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform

after installing the package, there are no problems about the issue

Oguz Kurun
  • 57
  • 1
  • 8