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 from template, because this requires to add this analyzer in my projects as nuget package.
Is it possible, to add a analyzer reference manually? I would like to reference the analyzer without nuget.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With