Download the official packages, tasks, or tools to enable high-fidelity code coverage analytics inside your test runner workflows.
Coverlet is distributed as separate drivers targeting different build ecosystems.
Data collector for the VSTest engine. Seamlessly captures metrics during test execution without altering MSBuild output variables.
MSBuild integration task. Adds target injection so you can capture metrics easily via raw compile flags like /p:CollectCoverage=true.
Cross-platform global tool version of Coverlet. Useful for instrumenting compiled assembly DLL binaries outside of project configurations.
Integration adapter specifically engineered for the Microsoft Testing Platform (MTP), delivering optimized console metrics.
Use the official .NET CLI and NuGet package flows for each Coverlet integration driver.
Add coverlet.collector to a test project that runs with the Visual Studio Test Platform, then collect Cobertura coverage through dotnet test.
Released on May 18, 2026. This release improves Microsoft Testing Platform coverage output, avoids unnecessary testhost restarts, and fixes multiple report accuracy edge cases.
is with and.finally blocks.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 → |
Ensure your development environment meets the core dependencies required by Coverlet.
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.
Fully cross-platform. Works on Windows 10/11, standard distributions of Linux (Ubuntu, Debian, Alpine, RedHat), and macOS BigSur or higher.
Specific troubleshooting help regarding package installation and version setups.
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.
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.
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.