Skip to content

Conversation

@filzrev
Copy link
Contributor

@filzrev filzrev commented Oct 23, 2025

This PR intended to add support for .NET 10.

  • Add target framework net10.0 to TargetFrameworks. (It increase NuGet package size)
  • Migrate base target framework from net8.0 to net10.0
  • Update GitHub Actions workflow settings

What's Changed in this PR

action.yml

  • Update actions/setup-node version
  • Update actions/setup-dotnet version
  • Add setting to install .NET 10

ci.yml

  • Add dotnet test step for .NET 10.
  • Modify existing dotnet test step for .NET 8 run on ubuntu only.
  • Modify Percy test step to use .NET 10
  • Modify Snapshot test steps to use .NET 10

lint.yml

  • Remove unused actions/setup-dotnet step.

release.yml

  • Change Self-contained package .NET version to .NET 10.
  • Modify actions/setup-dotnet settings to install .NET 10
  • Update Sign CLI version and add comment. (It can't dotnet nuget sign command. and required to run on Windows)

nightly.yml

  • Remove step setup-dotnet (.NET 10 SDK is installed by setup-dotnet step instead)
  • Add test step for .NET 9

snapshot.yml

  • Update dotnet test target framework to use .NET 10

Directory.Build.Props

  • Add net10.0 target framework. (It's expected to increase NuGet package size)
  • Comment out settings for DOCFX_PREVIEW_BUILD (It's re-enabled when testing .NET 11)
  • Remove old comment for NU5104.

Directory.Packages.Props
**SymbolFormatter.*.cs

  • Update Roslyn packages to 5.0.0-2.final (Currently preview, It'll be released .NET 10 RTM released)

*.csproj

  • Update TargetFramework from net8.0 to net10.0

@filzrev filzrev force-pushed the feat-add-net10-support branch from 81d6302 to 16b06df Compare October 23, 2025 14:13
Copy link
Contributor

@yufeih yufeih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @filzrev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants