Can you import a Roslyn Analyzer from a NuGet package and manually call/ use them in your own code for analysing an external solution (for example letting it analyze a public git repo that you download/ clone). So it would not analyse my open Visual Studio solution, but my solution would manually call/ use it. Basically I'm trying to make a very simple alternative to SonarQube by using the output from one or multiple Roslyn analyzers and putting the information in a simple UI.
I've read that SonarQube can accept Roslyn Analyzers as plugins (https://github.com/SonarSource/sonarqube-roslyn-sdk), so I think it should be possible but I'm kinda lost where exactly to start (I've read the official documentation). Any help to point me in the right direction is appreciated.