<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/computing-code-coverage-for-a-net-project-wdyvdndxd" -->

---
title: Computing code coverage for a .NET project | daily.dev
description: Learn how to compute code coverage for a .NET project using the .NET SDK and generate reports in the Cobertura format.
canonical: https://daily.dev/posts/computing-code-coverage-for-a-net-project-wdyvdndxd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Computing code coverage for a .NET project | daily.dev
og:description: Learn how to compute code coverage for a .NET project using the .NET SDK and generate reports in the Cobertura format.
og:url: https://daily.dev/posts/computing-code-coverage-for-a-net-project-wdyvdndxd
og:image: https://api.daily.dev/og/posts/WdYVdnDXD.png
og:image:alt: Computing code coverage for a .NET project
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Computing code coverage for a .NET project

**[Meziantou](https://daily.dev/sources/meziantou)** · 2 min read · 3 upvotes · 0 comments

## Summary

Learn how to compute code coverage for a .NET project using the .NET SDK and generate reports in the Cobertura format.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.meziantou.net/computing-code-coverage-for-a-dotnet-project.htm>

---

Tags: [#.net](https://daily.dev/tags/.net), [#github-actions](https://daily.dev/tags/github-actions), [#azure-devops](https://daily.dev/tags/azure-devops)

[View this post on daily.dev](https://daily.dev/posts/computing-code-coverage-for-a-net-project-wdyvdndxd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Computing code coverage for a .NET project","url":"https://daily.dev/posts/computing-code-coverage-for-a-net-project-wdyvdndxd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/computing-code-coverage-for-a-net-project-wdyvdndxd"},"datePublished":"2024-04-15T13:25:13.094Z","dateModified":"2024-05-09T08:39:06.345Z","description":"Learn how to compute code coverage for a .NET project using the .NET SDK and generate reports in the Cobertura format.","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/111019d414cc987c269bad56fb568269?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/111019d414cc987c269bad56fb568269?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Meziantou","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Meziantou","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/1bdfdd5349654b08ab6fa3f1ac38192c","url":"https://daily.dev/sources/meziantou"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/computing-code-coverage-for-a-net-project-wdyvdndxd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":".net,github-actions,azure-devops","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Meziantou","item":"https://daily.dev/sources/meziantou"},{"@type":"ListItem","position":3,"name":"Computing code coverage for a .NET project"}]}
```

