Repository navigation
Move the repository to .NET 11, keeping net10.0 in the packages - #93
Merged
Merged
Conversation
Every package now builds for net10.0 and net11.0 (only the core package did before), so .NET 10 clients such as SharpMUTerm and SharpClient keep restoring. The repository itself needs the .NET 11 SDK: global.json pins 11.0.100, and the .NET 10 SDK fallback (Microsoft.Net.Compilers.Toolset, build/Unions.props) is removed. Tests target net10.0 and net11.0 and CI runs both; the separate .NET 11 CI job folds into the build matrix, which also checks every package carries both frameworks. The AOT smoke app and the showcase target net11.0, and the ILCompiler 10.0.13 workaround for the RC2 SDK goes. The DI package's net11.0 build takes Microsoft.Extensions 11.0.0; the net10.0 build keeps 10.0.14. Tests and the smoke app move to 11.0.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7V5f38R4Wb3cn2oTez
HarryCordewener
marked this pull request as ready for review
November 10, 2026 21:50
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Grave · project thread
Follows #90. The repository builds, tests and publishes on .NET 11. The packages still ship net10.0, because SharpMUTerm and SharpClient target net10.0. Dropping it would be a breaking change, and Grave chose to keep it.
Changes
net10.0;net11.0. Before, onlyMarkupStringdid. The framework list lives inDirectory.Build.props.11.0.100.build/Unions.propsis removed, along with its .NET 10 SDK fallback (Microsoft.Net.Compilers.Toolset, LangVersion preview, skipping*.Union.csin the format check).Microsoft.NETCore.App(Options, DependencyInjection.Abstractions, Logging.Abstractions), so the net11.0 nuspec group lists only Configuration and Options.ConfigurationExtensions.lib/net10.0andlib/net11.0.Verified locally (SDK 11.0.100, runtime 10.0 installed)
dotnet build -c Releasewith the format check on: no warnings, no errors.dotnet packwith package validation: all 7 packages containlib/net10.0andlib/net11.0.dotnet format whitespaceloop is clean.The Web browser tests (
npm test) were not run locally. Nothing they use changed.Dependabot may later suggest raising the net10.0
Microsoft.Extensionsreferences to 11.x. That still builds, but it raises the floor for .NET 10 clients, so keep the net10.0 group on 10.0.x.Generated by Claude Code