My C# code coverage file currently is read by SonarQube and is populated and looks correct to me. But I get the message:
WARN: The Code Coverage report doesn’t contain any coverage data for the included files.
The link provided however seems to be dead. Could somebody redirect me to the relevant page or explain what the trouble shooting methods are for this?
can you provide the full logs you refer to, including the link ? I guess it’s the one in the title but I’d like to see it in context
also, to help on the code coverage part
- you can turn on the verbose output of the command (please run
SonarScanner.MSBuild.exe begin /k:“MyProject” /d:sonar.verbose=true as the begin step)
Also some docs you can refer to:
You can take a look at the discussion on Code Coverage is not shown in the SonarCloud.io to make sure you run the commands from the same folder and you can check the paths inside the reports are correct.
An update: we fixed the broken link in #3539 which got released with SonarCSharp 8.12.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.