I get Code Analysis error when using the migration package

Issue #7 resolved
shane rogers created an issue

Hi. I’m looking at using your package for our migration process, however, when I add the package to our asp.net core 3.1 microservice I get the following error.

Severity Code Description Project File Line Suppression State
Error AD0001 Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.MetaAnalyzers.CSharpDiagnosticAnalyzerApiUsageAnalyzer' threw an exception of type 'System.NullReferenceException' with message 'Object reference not set to an instance of an object.'….

Have you seen this before?

Thanks

Comments (4)

  1. Serhiy Balan

    As a workaround try to add Microsoft.CodeAnalysis.Analyzers (v3.3+) nuget package to your project. It fixed an issue for me

  2. Log in to comment