The Code Coverage report doesn't contain any coverage data for the included files

No Code coverage for a C# .net project running on a Azure Dev ops pipeline.
This is what I seen in the log of the Run Code Analysis Step

10:36:17.145 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

I have attached the log.
RunCodeAnalysis.txt (409.1 KB)

Hi @Jon_Woo ,

Welcome to SonarSource Community :sonarsource: !

Please review this community guide that I wrote that may help you: [Coverage] Troubleshooting guide for .NET code coverage import

If after reading it you still have trouble, please verify the following:

  • look inside the coveragexml file and see if the file references match what you expect
  • review your logs here, SonarQube/Sonar scanner does not process coverage reports, it only imports them, so need to make sure the coverage process was done correctly:
1-06-25T17:36:02.7401548Z ------------------------------------------------------------------------
2021-06-25T17:36:02.7402071Z 10:36:02.726  Writing processing summary to D:\azdo-build\Agent01\_work\16\.sonarqube\out\ProjectInfo.log
2021-06-25T17:36:02.7409463Z Calling the TFS Processor executable...
2021-06-25T17:36:02.7826029Z Executing file D:\azdo-build\Agent01\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.21.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.TFSProcessor.exe
2021-06-25T17:36:02.7826796Z   Args: ConvertCoverage D:\azdo-build\Agent01\_work\16\.sonarqube\conf\SonarQubeAnalysisConfig.xml D:\azdo-build\Agent01\_work\16\.sonarqube\out\sonar-project.properties 
2021-06-25T17:36:02.7827302Z   Working directory: D:\azdo-build\Agent01\_work\16
2021-06-25T17:36:02.7827577Z   Timeout (ms):-1
2021-06-25T17:36:02.7827842Z   Process id: 1836
2021-06-25T17:36:02.9011114Z Attempting to locate the CodeCoverage.exe tool...
2021-06-25T17:36:02.9045762Z Attempting to locate the CodeCoverage.exe tool using setup configuration...
2021-06-25T17:36:02.9202424Z Multiple versions of VS are installed: 15.9.28307.1500, 15.9.28307.1500
2021-06-25T17:36:02.9205190Z Code coverage command line tool: C:\Program Files (x86)\Microsoft Visual Studio\2017\TestPro\Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe
2021-06-25T17:36:02.9703580Z Fetching code coverage report information from TFS...
2021-06-25T17:36:02.9719230Z Attempting to locate a test results (.trx) file...
2021-06-25T17:36:03.0987406Z Looking for TRX files in: D:\azdo-build\Agent01\_work\16\TestResults
2021-06-25T17:36:03.0989550Z No test results files found
2021-06-25T17:36:03.2217917Z Did not find any binary coverage files in the expected location.
2021-06-25T17:36:03.2229206Z Falling back on locating coverage files in the agent temp directory.
2021-06-25T17:36:03.2236696Z Searching for coverage files in D:\azdo-build\Agent01\_work\_temp
2021-06-25T17:36:03.2241366Z All matching files: count=2
2021-06-25T17:36:03.2241914Z 	D:\azdo-build\Agent01\_work\_temp\TestResults\8dedec9c-8d21-4cdd-aed2-ea33082e8c5b\LASPCRMTFS07$_LASPCRMTFS07_2021-06-25.10_35_20.coverage
2021-06-25T17:36:03.2242486Z 	D:\azdo-build\Agent01\_work\_temp\TestResults\LASPCRMTFS07$_LASPCRMTFS07_2021-06-25_10_35_37\In\LASPCRMTFS07\LASPCRMTFS07$_LASPCRMTFS07_2021-06-25.10_35_20.coverage
2021-06-25T17:36:03.4792049Z Unique coverage files: count=1
2021-06-25T17:36:03.4792720Z 	D:\azdo-build\Agent01\_work\_temp\TestResults\8dedec9c-8d21-4cdd-aed2-ea33082e8c5b\LASPCRMTFS07$_LASPCRMTFS07_2021-06-25.10_35_20.coverage
2021-06-25T17:36:03.4905688Z Executing file C:\Program Files (x86)\Microsoft Visual Studio\2017\TestPro\Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe
2021-06-25T17:36:03.4906716Z   Args: analyze /output:D:\azdo-build\Agent01\_work\_temp\TestResults\8dedec9c-8d21-4cdd-aed2-ea33082e8c5b\LASPCRMTFS07$_LASPCRMTFS07_2021-06-25.10_35_20.coveragexml D:\azdo-build\Agent01\_work\_temp\TestResults\8dedec9c-8d21-4cdd-aed2-ea33082e8c5b\LASPCRMTFS07$_LASPCRMTFS07_2021-06-25.10_35_20.coverage 
2021-06-25T17:36:03.4907512Z   Working directory: D:\azdo-build\Agent01\_work\_temp\TestResults\8dedec9c-8d21-4cdd-aed2-ea33082e8c5b
2021-06-25T17:36:03.4907864Z   Timeout (ms):60000
2021-06-25T17:36:03.4908116Z   Process id: 3668