I cant import dotcover report (Sonarqube)


I cant import dotcover report(Manuel test coverage, not unit test coverage).
Code coverage=%0

I’m trying these command:

SonarScanner.MSBuild.exe begin /k:projectkey /d:sonar.cs.dotcover.reportsPaths=“coverageReport.html”

MSBuild.exe “project.sln path” /t:Rebuild

SonarScanner.MSBuild.exe end

Hello Enes,

In order to help you, we require more information about the issue you are facing. Could you please provide:

  • what is the dotnet analyzer version you are using ?
  • the verbose output of the command (please run SonarScanner.MSBuild.exe begin /k:“MyProject” /d:sonar.verbose=true as the begin step, and please attach the output of END step

Also, when exactly is your “coverageReport.html” file generated ? (I don’t see anything launching the tests from the command lines you reported).