Hi @dasavi, welcome to our community.
I am sorry for the late reply here.
Are the analyses being overwritten one by the other? I mean: are you getting just the results from ExampleC.proj
?
You can read here about the integration with MSBuild and our analysis.
I am not accustomed to your setup, so I’d need first to come up with a small reproducer project and see how the product behaves in your case (if you could write such a sample project, I’d highly appreciate it as it would help us speed the investigation).
During the analysis, the analysis config and metadata files are stored in the .sonarqube
folder (in the folder where you run the analysis from).
In the .sonarqube\<NUMBER>
folders there is metadata about each project (each project gets assigned a number by the Scanner for MSBuild/.NET - you can see the project name inside the ProjectInfo.xml file e.g. .sonarqube\0\ProjectInfo.xml
for the first project). So the first question is : does each of your csproj
projects have a corresponding folder there?
Then, inside each ProjectInfo.xml you will have under AnalysisSettings
the sonar.cs.roslyn.reportFilePath
which leads to the Roslyn issue report outputed by our analyzers in json files e.g. C:\PATH_TO_PROJECT\PROJECT\bin\Debug\net45\Project.dll.RoslynCA.json
- for each project you’d need to have these files.
If something is missing , then it’s going to miss from SonarQube as well.