Provides props and targets to instrument Native AOT binary.
Total Downloads
115.3K
115,322
Published
Oct 6, 2026
28d ago
Get Started
dotnet add package Microsoft.CodeCoverage.MSBuild --version 18.12.0
No framework information available.
README
Microsoft.CodeCoverage.MSBuild
This package contains MSBuild props and targets to instrument binaries during build.
Usage
.NET project
dotnet build /p:MsCodeCoverageInstrumentation="true"
Native AOT project
dotnet publish /p:AotMsCodeCoverageInstrumentation="true"
Sample can be found at https://github.com/microsoft/codecoverage/tree/main/samples/Algorithms/scenarios/scenario03.
Downloads by Version
Depended On By
Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.