简体   繁体   中英

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.

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)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM