Getting ready

Before you can create your own code analyzer, you need to ensure that you have installed the .NET Compiler Platform SDK. To do this, perform the following steps:

  1. Add a new project to your solution and click on Extensibility. Select Download the .NET Compiler Platform SDK and click OK.
  1. This will actually create a project with an index file. The page that opens will provide a download to the .NET Compiler Platform SDK. Click on that to start the download.
  1. Just save the downloaded file to a directory on your hard drive. Then ...

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.