Migrate from FxCop code analysis to .NET compiler platform analyzers
Learn how to analyze code for the first time, or how to migrate from FxCop to the new way of analyzing managed code using analyzers.
Frequently asked questionsGet answers to some frequently asked questions about the differences between FxCop and analyzers.
If you're new to code analysis...
Learn what analyzers are.
Learn how to install analyzers as a NuGet package or Visual Studio extension.
Set rule severity and suppress errors
Learn how to use analyzers and suppress violations for C# or Visual Basic code.
Learn how to use analyzers from the command line.
If you're an FxCop user...
Learn the differences between static (FxCop) and analyzer package code analysis.
Install FxCop analyzers
Learn how to install the FxCop analyzer package.
If you typically run code analysis from the command line, learn how to use analyzers from the command line.
Learn about analyzer package rule sets.