How to add a custom code analyzer to a project without nuget or VSIX?

后端 未结 1 2015
余生分开走
余生分开走 2021-02-14 20:36

I want to write a custom code analyzer in Visual Studio 2015 for a C# ConsoleApplication. For this reason I don\'t want to create a seperate \"Analyzer with Code Fix\" project f

相关标签:
1条回答
  • 2021-02-14 21:06

    If you add an analyzer as Nuget and check the content of your project, you'll see that only an <Analyzer Include="..." /> item is added. You can do the same manually. Also, you can do this in the .csproj.user file as well, so you can also do it locally, and not commit this change to your SCM.

    0 讨论(0)
提交回复
热议问题