How to do it...

  1. Start off by creating a new console application. You can call it whatever you like. In my example, I simply called it DiagAnalyzerDemo.
  1. From the Tools menu, select NuGet Package Manager and then Manage NuGet Packages for Solution....
  1. In the Browse tab, search for Code-Cracker. The results should return the codecracker.CSharp NuGet package. Check the project you want to apply the NuGet package to and click on the Install button.
  1. Visual Studio will allow you to review the changes that are about to be made. Click on the ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.