Latest Stable Release: v10.0.1

Get Coverlet

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 command-line package managers to download and install Coverlet tools quickly across different operating systems.

Windows Package Manager Installation

Deploy Coverlet using Windows Package Manager (winget) on modern Windows 10 and 11 architectures.

winget install coverlet
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 consolidates stability improvements, enhances Microsoft Testing Platform (MTP) logging compatibility, and patches minor edge-case instrumentations.

  • MTP Console Statistics: Resolved an issue where metrics were failing to print on standard outputs under the new Microsoft Testing Platform hooks.
  • Testhost Optimization: Avoided unnecessary testhost process restarts, reducing CI build execution latency.
  • Report Path Alignment: Corrected inconsistent absolute paths in Cobertura XML report outputs under windows architectures.
  • Pattern Matching Logic: Fixed a bug where branch coverage was under-calculated when utilizing the is pattern matching expressions combined with and operators.
  • Async Finally Blocks: Handled compiler generation anomalies that incorrectly flagged coverage percentages inside async method finally blocks.
  • Metadata Maintenance: Resolved missing CompilerGeneratedAttribute warnings in the coverlet tracker dll layers.

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 12, 2026 Major Release Changelog →
v8.0.1 March 02, 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

Requires .NET SDK 6.0, .NET SDK 8.0, or .NET SDK 9.0+. Backward compatible with libraries targeting .NET Standard 2.0 or higher.

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 most modern .NET applications running inside standard visual studio test engines, the **coverlet.collector** package is recommended. Choose **coverlet.msbuild** if you need compilation variables validation, and use **coverlet.console** if you need to run coverage reports completely independently of your build configurations.