Hey SonarCommunity , i’ve been facing an issue regarding code coverage , it says 0 main files are included . I’ve looked into all the methods provided here but not able to figure out why it is happening .
I’m currently using Azure Devops and following are the versions :
sdk version .NET7.0
SonarScanner for MSBuild 5.8
Error /*
INFO: Coverage Report Statistics: 21 files, 0 main files, 0 main files with coverage, 21 test files, 0 project excluded files, 0 other language files.
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
At this point I’m a bit confused. Can you provide your full analysis log?
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.