Finding and installing analyzers

There are quite a few code analyzers on GitHub. A quick search returns 28 possible C# code analyzers out of 72 repository results. A few of these seem to be student projects. Check those out too; there is some very clever code in some of them. As for this recipe, we will be working with CodeCracker for C# to demonstrate how to install an analyzer from a NuGet package. 

Get C# 7 and .NET Core Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.