BADF00D / DisposableFixer

This is a Visual Studio Extension and NuGet package that should identify and fix problems as memleaks while using IDisposables.
Other
35 stars 7 forks source link

Publish as NuGet #104

Closed xperiandri closed 5 years ago

xperiandri commented 5 years ago

Have you published this extension as NuGet analyzer?

BADF00D commented 5 years ago

Currently not, do you need this?

xperiandri commented 5 years ago

Yes, it would be nice to install into projects and force other teammates to have it in Visual Studio and on CI build

BADF00D commented 5 years ago

Ok, should be no big problem. As I remember NuGet publish is already build-in into VS, I think I only have to upload the package to nuget.org.

Before you force others to use this tool, be aware of the problem mentioned in #35. I currently have no solution for this. So maybe you have some false positive detections for not disposed instances.

xperiandri commented 5 years ago

Thanks

BADF00D commented 5 years ago

Hi, I just uploaded a package to nuget.org. But I'm not sure if the package is correct, because I can remember I read the there should be no dependencies for analyzer packages. But give it a try, maybe my memory is wrong.

xperiandri commented 5 years ago

Super cool! I've tested, it works