chore: retarget to net11.0 on the .NET 11 RC1 SDK - #64
Merged
Conversation
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.
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.
No description provided.