We have a build pipeline to analyse our entire source code with the SonarCloud build tasks in Azure DevOps. Our project used several shared common liberaries that are referenced in the application project files, however for 1 of the 7 shared common liberaries we get the following warning:
WARNING: Duplicate ProjectGuid: “8453c1d9-afa4-4f0b-bf68-362a66cbe247”. The project will not be analyzed by SonarQube. Project file: “D:\a\1\s\Common\Code\Common.Contracts\Common.Contracts.csproj”
How do we solve this, because when I search on the ProjectGuid it is unique in our complete source code.
Other common projects like “D:\a\1\s\Common\Code\Common.Services\Common.Services.csproj” with is used in the same places as Common.Contract does not throws any warnings.
SonarScanner for MSBuild 4.6.2