Using SonarScanner for MSBuild 4.7.1, SonarQube 7.7, csharp plugin 220.127.116.1181
Attempting to report code coverage for a .NET project. I generate the report with vstest, then convert it to the .coveragexml format, and pass it to SonarQube. Using GitLab artifacts, I am able to see that the file is generated. However, I see the following output:
21:06:07.140 INFO: Adding this code coverage report to the cache for later reuse: ...\my.coveragexml 21:06:07.151 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
The link that is referenced is dead. The only thing I see suggested online is setting DebugType to full, however this did not work for me either. The steps we are executing are templated out such that I can duplicate them in other projects; of three .NET projects that I have, one reports coverage fine and two do not.