# 0.0% code coverage for .Net project

**URL:** <https://community.sonarsource.com/t/0-0-code-coverage-for-net-project/117940>\
**Category:** SonarQube Server / Community Build\
**Tags:** coverage\
**Created:** [June 26, 2024, 12:22pm UTC](https://community.sonarsource.com/t/0-0-code-coverage-for-net-project/117940 "2024-06-26T12:22:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neeharika\_Sadhu](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/neeharika_sadhu/32/47205_2.png) [@Neeharika\_Sadhu](https://community.sonarsource.com/u/Neeharika_Sadhu)\
**Post date:** [June 26, 2024, 12:22pm UTC](https://community.sonarsource.com/t/0-0-code-coverage-for-net-project/117940/1 "2024-06-26T12:22:13Z")

</div>

Hi, I tried to run the sonar scanner analysis on our .Net project locally.  
However, it shows the test coverage as 0.0%.

.Net project version - net472  
Sonar Scanner version - sonar-scanner-6.2.0.85879-net-framework  
Sonar cube version - sonarqube-10.5.1.90531  
Sonar cube is deployed via Zip.

![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/8/9/89c65f2d35d0f12055f974dbbf1a8c11f068b3bd.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [June 26, 2024, 2:30pm UTC](https://community.sonarsource.com/t/0-0-code-coverage-for-net-project/117940/2 "2024-06-26T14:30:08Z")

</div>

Hey there.

What do the logs say about the import of code coverage?

> [@How to find logs about importing code coverage](https://community.sonarsource.com/t/how-to-find-logs-about-importing-code-coverage/73317):
>
> When coverage data isn’t appearing as expected in SonarQube Server / Community Build or SonarQube Cloud, the first place you should look is the scanner logs. Where do I find the scanner logs?warning This will likely be broken out into its own guide soon The Scanner logs are the output of executing one of the [scanners](https://docs.sonarqube.org/latest/analysis/overview/), either directly or wrapped by one of many integrations, such as the [SonarScanner for Jenkins](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-jenkins/), [SonarScanner for Azure DevOps](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-azure-devops/), [SonarQube](https://github.com/SonarSource/sonarqube-scan-action)/[SonarCloud](https://github.com/marketplace/actions/sonarcloud-scan) GitHub Actions or [SonarQube](https://bitbucket.org/sonarsource/sonarqube-scan/src/master/) /…

Have you read the documentation for [.NET Test Coverage](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/test-coverage/dotnet-test-coverage/)?

---

<div class="post-metadata">

**Author:** ![Neeharika\_Sadhu](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/neeharika_sadhu/32/47205_2.png) [@Neeharika\_Sadhu](https://community.sonarsource.com/u/Neeharika_Sadhu)\
**Post date:** [June 26, 2024, 3:40pm UTC](https://community.sonarsource.com/t/0-0-code-coverage-for-net-project/117940/3 "2024-06-26T15:40:02Z")

</div>

Not sure where to look for the logs, I have gone through the guide you provided, but still not clear.  
Please note that I am using [SonarScanner for .NET] (.NET Framework) and using it on a local solution/project which is not tied to Jenkins/DevOps/Github…
