# Sonar cloud showing 0.0% code coverage desspite Azure devops showing correct code coverage

**URL:** <https://community.sonarsource.com/t/sonar-cloud-showing-0-0-code-coverage-desspite-azure-devops-showing-correct-code-coverage/121069>\
**Category:** SonarQube Cloud\
**Tags:** dotnet, coverage, sonarqube-cloud\
**Created:** [August 21, 2024, 2:07pm UTC](https://community.sonarsource.com/t/sonar-cloud-showing-0-0-code-coverage-desspite-azure-devops-showing-correct-code-coverage/121069 "2024-08-21T14:07:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Obasi](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/john_obasi/32/48186_2.png) [@John\_Obasi](https://community.sonarsource.com/u/John_Obasi)\
**Post date:** [August 21, 2024, 2:07pm UTC](https://community.sonarsource.com/t/sonar-cloud-showing-0-0-code-coverage-desspite-azure-devops-showing-correct-code-coverage/121069/1 "2024-08-21T14:07:33Z")

</div>

Below is my code . project is in c#

```auto
- task: SonarCloudPrepare@2
  inputs:
    SonarCloud: 'sonar-integration-test'
    organization: 'xxx'
    scannerMode: 'MSBuild'
    projectKey: 'xxx-xxx'
    projectName: 'xxx'
    extraProperties: |
    sonar.cs.opencover.reportsPaths=$(Build.SourcesDirectory)/**/coverage.opencover.xml
    sonar.cs.vstest.reportsPaths=$(Agent.TempDirectory)/**/*.trx

```

![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/e/6/e6a9d920ba76968a07060cebf08fde6af845235f.png)

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [August 22, 2024, 12:27pm UTC](https://community.sonarsource.com/t/sonar-cloud-showing-0-0-code-coverage-desspite-azure-devops-showing-correct-code-coverage/121069/2 "2024-08-22T12:27:49Z")

</div>

Hi,

Can you share your 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.

[This guide](https://community.sonarsource.com/t/how-to-find-logs-about-importing-code-coverage/73317) will help you find them.

&nbsp;  
Thx,  
Ann
