This repository is tied to the post How to integrate your Roslyn Analyzer with SonarQube from my blog site.
It contains:
- The
/MyRoslynAnalyzer
folder contains a Roslyn Analyzer project with a single rule.- This project gets packaged and published to nuget.org using a Github action found on the
.github
folder.
- This project gets packaged and published to nuget.org using a Github action found on the
- The
/Demo.WebApi
folder contains a .NET 7 API- This API has installed the
MyRoslynAnalyzer
NuGet package.
- This API has installed the
- The
/integrations/as-a-sonarqube-folder
folder contains SonarQube plugin and aDockerfile
that creates a SonarQube image with the plugin installed on it.- The
myroslynanalyzer-plugin-1.0.0.jar
is a SonarQube plugin and it is the result of converting theMyRoslynAnalyzer
NuGet package into a SonarQube plugin using the RoslynSonarQubePluginGenerator tool.
- The