Sonar Server Version: Enterprise EditionVersion 10.3 (build 82913)
Source code repository hosted on Azure devops
Pipeline hosted on AzureDevops
I have a repository that contains multiple solution files. When I try to add a new project if the same repo is already added I can not add a new project and differentiate them based on different solutions.
To be clear - since I’m not a .NET-er - a different solution is a different build, right?
Assuming it is, then yes, you should be able to create a “project” in SonarQube per solution in your repository. The only thing you need to do is make sure the /k:<project-key> value is unique per solution. That will keep your solutions from stepping on each other in SonarQube.
Now for pull request analysis, you’ll only need to worry about monorepo configuration if one PR could touch multiple solutions. If that’s the case, then the docs should help you set that up.