Code Coverage showing 0% in Sonar Cloud

I tried to view the code coverage results in the sonarcloud using azure devops pipeline. I have added the Sonar Prepare , analyse and Publish tasks in the Pipeline. Between Prepare and Analyse tasks , I have added my Build , Tests (dotnet Build and dotnet tests) tasks. When i tried to publish the code coverage in the pipeline using cobertura , its showing me some value of the coverage , but when I view in sonar cloud its showing me 0%.

Kindly help on this


Hey there.

Have you checked the documentation on .NET Test Coverage?

And, after considering the information there, if you still face an issue, what do the logs say about code coverage import?