Skip to content

build: move to .NET 11 SDK and test on net11.0 - #23

Open
illia1f wants to merge 2 commits into
mainfrom
feat/net11
Open

illia1f wants to merge 2 commits into
mainfrom
feat/net11

Conversation

@illia1f

@illia1f illia1f commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Builds with the .NET 11 SDK and adds .NET 11 to the test runs. No public API changes and nothing to release: the four packages keep their targets and behave like 1.0.1.

  • SDK: global.json pins 11.0.100; .NET 11 shipped on 2026-11-10. The CI and release workflows install 11.0.x, and keep 8.0.x and 10.0.x for the older test runtimes.
  • Tests on .NET 11: net11.0 joins the test targets. It runs the packages' net10.0 build on the .NET 11 runtime, which is the build a .NET 11 app resolves.
  • Benchmarks: stay on net10.0 and the .NET 10 runtime. They compile with SDK 11 as well, and BenchmarkDotNet records the SDK version in each report.
  • Docs: CONTRIBUTING and the benchmark README name the .NET 11 SDK plus the .NET 10 runtime, which SDK 11 does not include.
  • Labeled continue: RequestFlowRegistry.AddEventStrategyDeclarations replaces its duplicate flag with a C# 15 labeled continue. The method runs at registration only, and the label compiles on every target, netstandard2.0 and net462 included.

Validation:

  • dotnet restore -p:RestoreLockedMode=true: passes, so the benchmark lock files are unchanged.
  • dotnet build -c Release: 0 warnings, 0 errors.
  • dotnet test: all pass on net462, net8.0, net10.0, and net11.0. RequestFlow.Tests.Unit ran 1110 tests on net462 and 1139 on each of the others; RequestFlow.Cqrs.Tests.Unit ran 68 on each.
  • Dependency floor (-f net8.0 -p:DependencyInjectionVersion=8.0.0): 1139 pass.
  • dotnet pack -c Release -p:EnablePackageValidation=true -p:PackageValidationBaselineVersion=1.0.1: no compatibility diagnostics. Each package still ships netstandard2.0, net462, net8.0, and net10.0.
  • Not run: benchmarks. A --quick run confirms BenchmarkDotNet's generated net10.0 projects build with SDK 11.

The net11.0 test run exercises the net10.0 package build on the .NET 11 runtime.
Packages keep their four targets, and benchmarks stay on net10.0.

This branch has not been deployed

No deployments
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.

1 participant