DotNetAnalyzers / ReflectionAnalyzers

Analyzers checking System.Reflection
MIT License
80 stars 8 forks source link

Can install these packages as extensions? #291

Closed Donaut closed 2 years ago

Donaut commented 2 years ago

Hello,

The problem is that i want to use it at my work place but i cannot just spam the application with nuget packages. Can install it globaly or as a visual studio extension?

JohanLarsson commented 2 years ago

There is a VSIX project that I've used for debugging. https://github.com/DotNetAnalyzers/ReflectionAnalyzers/blob/master/ReflectionAnalyzers.Vsix/ReflectionAnalyzers.Vsix.csproj

Try building and installing it. It is not published in the Visual Studio Extension store or whatever the name is. I have not used it in a while so maybe there are issues, Visual Studio extensions tend to be fragile.

Donaut commented 2 years ago

Thanks for the qucik response i try:D

JohanLarsson commented 2 years ago

If it does not work we should fix it so don't hesitate to report if it is broken. I don't think we will publish the extension as nuget is a nicer way to consume analyzers, works in CI etc. So we punish people who want to consume it via VSIX with extra steps of building and installing :)