title: Code coverage analysis across multiple project files with sonarqube
body: <p>The common pattern in .NET is to have unit tests in a separate project which seems to work fine, however, we are trying to implement a pattern in which unit tests live within the project, alongside the implementation.</p>
  
  <p>When trying to use coverlet to generate coverage files, the sonarscanner tool is accepting multiple files, but it's not reporting on the coverage:</p>
  
  <pre><code>dotnet-sonarscanner /d:sonar.cs.opencover.reportsPaths="**/coverage.opencover.xml"
  ...    
  
  dotnet test --configuration Release \
                      --no-build \
                      --no-restore \
                      --logger "trx;LogFileName=testresults.trx" \
                      /p:CollectCoverage=true \
                      /p:CoverletOutputFormat=opencover
  ...
  
  INFO: Parsing the OpenCover report /root/app/src/./Project.Data/coverage.opencover.xml
  INFO: Adding this code coverage report to the cache for later reuse: /root/app/src/./Project.Data/coverage.opencover.xml
  INFO: Parsing the OpenCover report /root/app/src/./Project.WebAPI/coverage.opencover.xml
  INFO: Adding this code coverage report to the cache for later reuse: /root/app/src/./Project.WebAPI/coverage.opencover.xml
  INFO: Parsing the OpenCover report /root/app/src/./Project.Domain/coverage.opencover.xml
  INFO: Adding this code coverage report to the cache for later reuse: /root/app/src/./Project.Domain/coverage.opencover.xml
  WARN: The Code Coverage report doesn't contain any coverage data for the included files. For troubleshooting hints, please refer to https://docs.sonarqube.org/x/CoBh
  </code></pre>
  
  <p>The provided link does not show any help in this scenario and adding DebugType Full (from a related answer) in the project files yields no different results. </p>