Skip to content

[v2] Drop the net8.0 target #7745

Open
Open

Description

@thomhurst

Remove the net8.0 target from the packaged libraries in the next major version (v2).

Background

#7705 dropped net8.0 and net9.0 in a 1.x release, as both are end-of-life. That broke users still on those frameworks (#7739), so #7743 puts net8.0 back for the rest of the 1.x line. net9.0 projects use the net8.0 assets.

Dropping a target framework is a breaking change, so the removal waits for v2.

To do in v2

  • Revert what fix: restore the net8.0 target for the packaged libraries #7743 restores: the net8.0 target in eng/Library.props and the integration libraries, the net8.0 package version group in Directory.Packages.props and its Renovate rule, and the net8.0 coverage in the NuGet tester projects, pipeline modules and CI.
  • Call it out in the v2 release notes and migration guide: net8.0 and net9.0 test projects are no longer supported.

Things to watch

After the removal, net8.0/net9.0 projects resolve the netstandard2.0 assets again, which is what broke in 1.83. On those assets:

  • Native AOT does not work properly (reflection-based tuple and attribute fallbacks do not survive trimming, see fix: restore net8.0/net9.0 support on the netstandard2.0 assets #7742)
  • TUnit.AspNetCore, TUnit.Aspire, TUnit.OpenTelemetry, TUnit.Logging.Microsoft, TUnit.Mocks.Http and TUnit.Mocks.Logging have no netstandard2.0 target, so they fail to restore

Activity

  1. added
    enhancement
    v2
    on Nov 12, 2026
  2. added
    P3
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3breakingenhancementv2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions