Latest Stable Release: v10.0.1

Get Coverlet Coverage

Download the official packages, tasks, or tools to enable high-fidelity code coverage analytics inside your test runner workflows.

Select Integration Package

Coverlet is distributed as separate drivers targeting different build ecosystems.

coverlet.collector

Data collector for the VSTest engine. Seamlessly captures metrics during test execution without altering MSBuild output variables.

dotnet add package coverlet.collector
Recommended Stable v10.0.1

coverlet.msbuild

MSBuild integration task. Adds target injection so you can capture metrics easily via raw compile flags like /p:CollectCoverage=true.

dotnet add package coverlet.msbuild
MSBuild Task Stable v10.0.1

coverlet.console

Cross-platform global tool version of Coverlet. Useful for instrumenting compiled assembly DLL binaries outside of project configurations.

dotnet tool install --global coverlet.console
CLI Tool Stable v10.0.1

coverlet.MTP

Integration adapter specifically engineered for the Microsoft Testing Platform (MTP), delivering optimized console metrics.

dotnet add package coverlet.MTP
MTP Extension Stable v10.0.1

Install via Command Line

Use the official .NET CLI and NuGet package flows for each Coverlet integration driver.

VSTest Collector Installation

Add coverlet.collector to a test project that runs with the Visual Studio Test Platform, then collect Cobertura coverage through dotnet test.

dotnet add package coverlet.collector --version 10.0.1
Need package options instead? Explore Integration Packages. Got setup questions? See Installation FAQs or check Detailed Guides.

Release Notes: Version 10.0.1

Released on May 18, 2026. This release improves Microsoft Testing Platform coverage output, avoids unnecessary testhost restarts, and fixes multiple report accuracy edge cases.

  • MTP Console Statistics: Fixed scenarios where Coverlet with MTP 2 did not show coverage statistics in console output.
  • Testhost Optimization: Avoided unnecessary testhost restarts to reduce CI build execution latency.
  • Report Path Alignment: Corrected inconsistent paths in Cobertura report outputs.
  • Pattern Matching Logic: Fixed branch coverage calculations for pattern matching expressions that combine is with and.
  • Async Finally Blocks: Fixed false branch reporting for async function finally blocks.
  • Architecture Documentation: Added architecture documentation and diagrams for all Coverlet integrations.

Version History

Track historical releases of Coverlet packages across recent release windows.

Version Release Date Status Details
v10.0.1 May 18, 2026 Latest Stable Changelog →
v10.0.0 April 17, 2026 Major Release Changelog →
v8.0.1 March 17, 2026 Stable Bugfix Changelog →
v6.0.2 January 20, 2026 Maintenance Changelog →

System Requirements

Ensure your development environment meets the core dependencies required by Coverlet.

Supported SDK Runtimes

Current Coverlet packages require modern SDK-style test projects. The VSTest and MSBuild drivers require .NET SDK 8.0.112 or newer; Microsoft Testing Platform and .NET 10 projects should use coverlet.MTP.

Operating Systems

Fully cross-platform. Works on Windows 10/11, standard distributions of Linux (Ubuntu, Debian, Alpine, RedHat), and macOS BigSur or higher.

Download Frequently Asked Questions

Specific troubleshooting help regarding package installation and version setups.

How can I perform an offline installation?

You can download the raw NuGet package file (.nupkg) from the package listings on NuGet.org. Place this package inside a local folder and add it to your nuget.config file as a local package source, then run standard CLI commands pointing to your local source.

Are all the driver packages updated simultaneously?

Yes. The Coverlet repository follows a consolidated releases strategy. All driver packages (including MSBuild, Console, VSTest collector, and Microsoft Testing Platform adapters) share the same version numbers. This ensures clean dependency compatibility when referencing multiple drivers across large projects.

Which package driver should I choose?

For test projects that use the traditional Visual Studio Test Platform, coverlet.collector is the recommended starting point. Choose coverlet.msbuild when you need MSBuild properties and threshold validation, coverlet.console for standalone tool workflows, and coverlet.MTP for Microsoft Testing Platform projects.