How to update `Microsoft.CodeAnalysis` in .net6 project

495 Views Asked by At

I am getting lots of warnings about Microsoft.CodeAnalysis in a series of .net6 projects. The reference is under Dependencies > Analyzers so its not a nuget package ref. How do I update the refs and remove these warning?

Thank you

Severity    Code    Description Project Path    File    Line    Suppression State   Priority
Warning CS8032  An instance of analyzer Microsoft.CodeAnalysis.CSharp.Analyzers.MetaAnalyzers.CSharpRegisterActionAnalyzer cannot be created from C:\Users\leedavies\.nuget\packages\microsoft.codeanalysis.analyzers\1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll: Method 'GetCodeBlockAnalyzer' in type 'Microsoft.CodeAnalysis.CSharp.Analyzers.MetaAnalyzers.CSharpRegisterActionAnalyzer' from assembly 'Microsoft.CodeAnalysis.CSharp.Analyzers, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation..    HukNetCore.MVC  C:\Users\leedavies\.nuget\packages\microsoft.codeanalysis.analyzers\1.1.0\analyzers\dotnet\cs   C:\Users\leedavies\.nuget\packages\microsoft.codeanalysis.analyzers\1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll   1   Active  Normal
0

There are 0 best solutions below