Sonarqube 8.9.6 - code coverage not running


The new log shows you’re still using SonarScanner, instead of SonarScanner for .NET. Please see the link I provided above for the scanner and how to use it.

Additionally, I see this:

simple 01-Aug-2022 13:45:12 Skipping execution of task 'OpenCover dotnet' as it is disabled

And in fact, the ‘-’ in the screenshot you provided indicates that no coverage reports were provided to analysis.


As noted earlier I did downloaded latest version Dotnet Sonar scanner and last log ran on dotnet scanner with the version sonar-scanner-msbuild-

If you noticed on script path:Development Tools\dotnet\tools*sonar-scanner-msbuild-\sonar-scanner-\bin\sonar-scanner.bat*

Also “-” indicates no coverage report which means something I need to configure to generate coverage report


Yes, that’s exactly what I noticed:

... running command line: \nd:\Development Tools\dotnet\tools\sonar-scanner-msbuild-\sonar-scanner-\bin\sonar-scanner.bat

It tells me that the scanner you’re running is not SonarScanner for .NET.


@ganncamp Sorry I’m not clear with earlier communitication, based on your recommendation I did downloaded below Sonascanner for .Net (version 5.7.2) installer from SonarScanner for .NET | SonarQube Docs and thats what I’ve configured to run this plan.


That’s simply not reflected in the most recent log you posted. Can you double check

  • your configuration
  • that you uploaded the correct log