Repository navigation
What's Changed
This release moves the retained Codebelt.Coverlet.MTP package to a .NET 10 and .NET 11 target matrix, drops the .NET 9 target, and makes branch coverage more accurate by excluding branches that can never execute from totals and reports.
- .NET 10 and .NET 11 support replaces the .NET 9 target, with Microsoft runtime dependencies aligned to 10.0.15 for .NET 10 and .NET Standard 2.0 and to 11.0.0 for .NET 11,
- Branch coverage accuracy excludes branches unreachable from method entry, including through exception handlers, from branch totals and from Cobertura, LCOV, and OpenCover branch details, so reports reflect code that can actually run,
- Instrumentation fixes prevent invalid IL from branch trampolines near exception-handler boundaries, instrument local functions when
CompilerGeneratedAttributeorGeneratedCodeAttributeis excluded, and resolve shared-framework assemblies whose runtime folders carry version suffixes, - Shared-framework resolution selects the highest matching framework by parsed NuGet version instead of string prefix matching, so prerelease and non-numeric runtime folders no longer break instrumentation,
- Dependency updates move Microsoft Testing Platform to 2.5.2, xunit.v3.mtp-v2 to 4.0.3, Moq to 4.21.0, and NuGet.Packaging and NuGet.Versioning to 7.9.0,
- Package validation packs
Codebelt.Coverlet.MTPautomatically for local validation test runs, isolated per configuration and framework, while GitHub Actions consumes the downloaded release package, so stale packages no longer affect local validation, - Regression coverage adds tests for MTP central configuration files, report formats, coverage thresholds, shared-framework resolution, and branch reachability.
Warning
The .NET 9 target is removed. Projects that consume the .NET 9 asset group of Codebelt.Coverlet.MTP must move to .NET 10 or .NET 11 before upgrading.
Note
Branch totals can shift after upgrading because unreachable branches are no longer counted. Compare coverage results against the 10.1.2 baseline before treating a change as a regression.
Sources:
- V11.0.0/upstream sync 2026 11 01 by @aicia-bot in #7
- VNext/support convenience testing in visual studio by @gimlichael and @aicia-bot in #5
- V11.0.0/double digits by @gimlichael and @aicia-bot in #6
- V11.0.0/double digits chore by @gimlichael and @aicia-bot in #8
- V11.0.0/merge v10.1.2 fixes by @gimlichael and @aicia-bot in #10
- V11.0.0/double digits go live by @gimlichael in #11
Full Changelog: v10.1.2...v11.0.0