.NET standard tooling build that leverages Roslyn analyzers, rulesets and additional configuration to be used for Code Analysis.
AnalyzerDotNet was designed to govern rules & standardize coding development as most of the ruleset may/may not be applicable. The project aims to add/remove rulesets from different providers to adjust based on agreed software development standards.
AnalyzerDotNet is recommended to be used on projects where you want to enforce code analysis & quality rules.
AnalyzerDotNet consumes the best practices from different rulesets(e.g. StyleCop, FxCop, SonarQube, etc) and here are the references:
AnalyzerDotNet can be installed using the NuGet command line or the NuGet Package Manager in Visual Studio 2019.
Install using the command line:
Install-Package AnalyzerDotNet
AnalyzerDotNet is recommended for Visual Studio 2019 analysis. If you use older versions of Visual Studio in addition to Visual Studio 2015 or Visual Studio 2017, you may still install these analyzers. They will be automatically disabled when you open the project back up in Visual Studio 2013 or earlier.