PurityAnalyzer
PurityAnalyzer copied to clipboard
Publish a NuGet package
The PurityAnalyzer is now only a Visual Studio Extension. Can you also publish a NuGet package for it? I want to use it without the need to install the extension. The NuGet (analyzer) package would allow me to analyze only certain projects in my solution.
Regards,
Fons
I see value in deploying the analyzer via a NuGet package. One thing to solve though is how to get the settings. PurityAnalyzer has settings (that allow people to mark 3rd party methods as pure for example) that are currently managed via the VS extension.
One solution is to have a .txt (or json) file in the project to contain the settings, and use default settings if such a file does not exist.
Great.
Maybe you can store the settings in the .editorconfig
file. This would be the first place where I would look for.