Skip to content

chore: retarget to net11.0 on the .NET 11 RC1 SDK - #64

Merged
thatplatypus merged 1 commit into
mainfrom
chore/net11-rc1
Sep 11, 2026
Merged

chore: retarget to net11.0 on the .NET 11 RC1 SDK#64
thatplatypus merged 1 commit into
mainfrom
chore/net11-rc1

Conversation

@thatplatypus

Copy link
Copy Markdown
Contributor

No description provided.

Moves all eleven projects to net11.0 and pins the SDK in global.json,
replacing a pin that denied prereleases. CI resolves the SDK from that
file via setup-dotnet's global-json-file; static.yml's PUBLISH_DIR
follows the TFM.

Takes Mythetech.Framework and Framework.WebAssembly 0.19.0, whose
transitive MessagePack pin clears the twelve advisory warnings Apollo.Client
inherited through SqliteWasmBlazor. Microsoft runtime-train packages move
to their latest stable, 10.0.12, including the stale 9.0.x Hosting and
Logging pins. Nothing moves to the RC.

Roslyn stays on 4.13.0-3.25056.7. OmniSharp.Roslyn 1.39.13 is compiled
against that build, and while 4.13.0 stable exists for the core packages,
the three ExternalAccess packages it depends on are prerelease-only, so
no coherent stable set exists and a 5.x jump would cross a Roslyn major
underneath OmniSharp's internal-API shims.

The three *.Worker projects gain SelfContained=true and UseMonoRuntime=true.
The .NET 10 mono toolchain workload manifest set both for every
browser-wasm project; the RC1 manifest does not, and since a
RuntimeIdentifier stopped implying self-contained in .NET 8, no runtime
pack resolves and the build fails in WasmApp.Common.targets with
"$(MicrosoftNetCoreAppRuntimePackDir)=''". Reproduced on a minimal
console project outside this repo; both properties together restore the
exact .NET 10 configuration. This only ever affected building the workers
standalone (the solution build, and Apollo.Test, which references them):
SlimWorker runs a worker's assembly inside the main app's runtime, and
both the .NET 10 and RC1 client publishes carry all three worker
assemblies.

Removes four references .NET 11 reports as redundant via NU1510:
System.Console (already flagged on .NET 10), Hosting.Abstractions in
Compilation and Hosting, and DependencyInjection.Abstractions in Hosting.

Apollo.Client disables trimming until GA: the RC1 IL trimmer overflows its
stack on publish. The published framework directory grows from 88 MB to
111 MB.

Verified against a true net10 baseline on the 10.0.101 SDK: build
0 errors and 142/0 tests on both, across repeated runs. Apollo.Client
publishes and renders the editor in headless Chrome identically on both.
@thatplatypus
thatplatypus merged commit 2d874da into main Sep 11, 2026
7 checks passed
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