SonarSource/sonar-scanner-msbuild

Multi-language Support: Show warning and return empty collections if sonar.tests or sonar.sources are set

gregory-paidis-sonarsource opened this issue · 0 comments

If one of these parameters is set, we should show a warning and return empty collections from AdditionalFilesService:

  • sonar.tests
  • sonar.sources
  • sonar.exclusions
  • sonar.inclusions
  • sonar.test.exclusions
  • sonar.test.inclusions

The warning should be something like:

Multi-file analysis support will not properly work if {0} is set. Please set explicitly "sonar.scanner.multiFileAnalysis=false" to disable it.