Skip to content

[Feature Request] Drop net8.0/net9.0 supports and add .NET 11 support #11211

Open

Description

@filzrev

Is your feature request related to a problem? Please describe.

.NET 8 and .NET 9 reach end of support on November 10, 2026

So it's safe to drop these TFMs support. (It can still generate API metadata for these TFMs by using latest SDK)
By these changes, docfx tools installation size can be reduced.

And it need to add .NET 11 support with Roslyn 5.11.0 when these versions are released.

Note:
Currently, docfx packages are published with net11.0.
Though, it referencing Roslyn version that are not published on nuget.org.

So it cause build errors when using Docfx.App package with net11.0.
https://www.nuget.org/packages/docfx.Dotnet#dependencies-body-tab
https://github.com/dotnet/docfx/blob/main/Directory.Packages.props#L34-L35

TODO

  • Drop net8.0/net9.0 tfms supports
  • Add net12.0 support for nightly build
  • Update Dockerfile to use .NET 11 based global tools

Activity

  1. changed the title [-][Feature Request] Drop net8.0 supports and add .NET 11 support[/-] [+][Feature Request] Drop net8.0/net9.0 supports and add .NET 11 support[/+] on Nov 10, 2026
  2. profix898 commented on Nov 19, 2026

    @profix898

    I just upgraded my solution to stable .NET 11 and now DocFX is unusable. .NET 11 ships with Roslyn 5.12 and especially all ASP.Net and Razor projects fail with earlier Roslyn versions (see #11171).

    A .NET 11 compatbile DocFX would be greatly appreciated.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions