How to make Sonarqube exclude a .NET (C#) project from coverage measures
Summing up the above mentioned answers and also adding one point to it. To exclude a project from SonarQube Analysis from csproj we can achieve by adding the below code in .csproj of that project <PropertyGroup> <!– Exclude the project from analysis –> <SonarQubeExclude>true</SonarQubeExclude> </PropertyGroup> To exclude a file from a project <ItemGroup> <SonarQubeSetting Include=”sonar.coverage.exclusions”> … Read more