How to generate code analysis report in Visual Studio 2019?

Prabs 1 Reputation point
2021-10-27T06:41:22.867+00:00

Hello Team,

I have a C# .NET Core 3.1 application which is developed in Visual Studio 2019
I have installed the following package for code analysis purpose.

Microsoft.CodeAnalysis.NetAnalyzers

I have suppressed some of the code analysis rules in my code. Suppressed rules info generated in GlobalSuppression.cs file.
Now i want to generate code analysis report (like in xml report or any other format) in Visual Studio 2019.

Could you please help me, how to generate code analysis output report in Visual Studio 2019?

Regards,
Prabs

Developer technologies | .NET | .NET Runtime
Developer technologies | Visual Studio | Other
Developer technologies | C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.