This is a standalone analyzer.
Overall processing includes the following steps:
- Connect to VSTS (now Azure DevOps)
- Get all repositories with develop branch (fallback to master if is not found develop branch)
- For every repository do:
- Download repository locally
- Use Nuget to restore packages
- Build solution with MSBuild and apply analyzer on build time.
- Get received diagnostics from the build
- Write received diagnostics into the log (I used Serilog and Sink it into the file)
I used BlockingAsyncAnalyzer to perform analyzing, but you can use whatever analyzer you want.