Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Analyzer with Code Fix template

I want to create a new project with code analyzer using Roslyn. But I can't find any template for that in my Visual Studio 2015 Update 3.

As I know it should be template Analyzer with Code Fix.

I'm a new with the VS, can someone help me, thanks.

like image 867
Pr.Dumbledor Avatar asked Feb 06 '23 06:02

Pr.Dumbledor


1 Answers

Download and install .NET Compiller Platform SDK

That template is available in the New Project dialog box. Expand either the Visual C# node, and then choose Extensibility.

Another way if there aren't any templates then you need to choose Install Visual Studio Extensibility Tools. Download and Install.

After that, choose Download the .NET Compiller Platform SDK

And finally you will see the template Analyzer with Code Fix (NuGet + VSIX)

like image 59
Roman Marusyk Avatar answered Feb 08 '23 16:02

Roman Marusyk