How to make Sonarqube exclude a .NET (C#) project from coverage measures

前端 未结 6 1175
Happy的楠姐
Happy的楠姐 2021-02-05 14:07

Sonarqube allows for individual files to be excluded from code coverage by adding patterns in the sonar.coverage.exclusions key. This can be done on a project level by

6条回答
  •  青春惊慌失措
    2021-02-05 15:07

    After trying a thousand things I finally found the solution. It's necessary to add an item group in the .csproj.

    
        
          
          true
        
      
    

提交回复
热议问题