-
Notifications
You must be signed in to change notification settings - Fork 398
[Enhancement] Add net9.0 and net10.0 targets #1822
Copy link
Copy link
Closed
Labels
SolvedThe issue is solved and can be closedThe issue is solved and can be closedbreaking-changeIssue or PR that represents a breaking change in features or functional.Issue or PR that represents a breaking change in features or functional.enhancementGeneral enhancement requestGeneral enhancement request
Description
Activity
Metadata
Metadata
Assignees
Labels
SolvedThe issue is solved and can be closedThe issue is solved and can be closedbreaking-changeIssue or PR that represents a breaking change in features or functional.Issue or PR that represents a breaking change in features or functional.enhancementGeneral enhancement requestGeneral enhancement request
coverlet NuGet packages (
coverlet.collector,coverlet.msbuild,coverlet.console,coverlet.MTP)currently ship only a
net8.0TFM asset folder (driven by$(NetMinimum)=net8.0).When a user's machine has only the .NET 9 or .NET 10 SDK installed the tracker class injected
at instrumentation time cannot load
System.Runtime 8.0.0.0, causing aTypeInitializationExceptionat test-run time (see #1818).
Adding
net9.0andnet10.0TFM asset folders to each package allows the runtime assemblyresolver to pick the TFM-appropriate copy automatically.
Strategy
NetMinimumnet8.0net8.0(unchanged)NetCurrentnet9.0net10.0(promoted)net9.0LangVersion12.0latest