Repository navigation
Retire current Mono workload packs and align SDK consumers - #10989
Merged
Merged
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
lewing
approved these changes
Nov 13, 2026
Base automatically changed from
darc-main-175291aa-e8db-433b-a85e-a65a3521a2c7
to
main
November 13, 2026 22:37
Import the reviewed runtime changes and align SDK workload manifests, runtime-pack defaults, VS insertion, and VMR orchestration. Preserve downlevel Mono support and reject unsupported current Mono requests. Co-authored-by: Copilot App <[email protected]>
akoeplinger
force-pushed
the
akoeplinger-vmr-retirement-on-codeflow
branch
from
November 13, 2026 22:37
39f449b to
feef309
Compare
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Installed, non-single-file CoreCLR WASI app bundles fail during relinking because the SDK package omits required native headers and the default lookup resolves outside the versioned SDK directory.
1 open issue
What changed in this PR
Aligns .NET 12 runtime producers and SDK consumers after runtime codeflow #10967, retiring current Mono workload packs while preserving downlevel Mono support.
Changes:
- Replaces current Mono pack registrations and bundled metadata with CoreCLR/NativeAOT equivalents.
- Defers WebAssembly runtime defaults until framework inference, expands NETSDK1242 validation, and separates CoreCLR from NativeAOT imports.
- Consolidates build subsets, CI jobs, artifact dependencies, and workload documentation.
| File | Description |
|---|---|
test/wasm-dependencies.proj |
Downloads the CoreCLR browser runtime pack. |
src/sdk/src/Workloads/VSInsertion/workloads.csproj |
Replaces retired packs in VS insertion. |
src/sdk/src/Workloads/Manifests/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.targets.in |
Aligns current workload imports and runtime selection. |
src/sdk/src/Workloads/Manifests/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.json.in |
Replaces current Mono workload pack definitions. |
src/sdk/src/WasmSdk/Sdk/Sdk.props |
Removes the early Mono default. |
src/sdk/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.TargetFrameworkInference.targets |
Rejects unsupported explicit Mono selections. |
src/sdk/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.BeforeCommon.targets |
Sets WebAssembly defaults after framework inference. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.tr.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.ru.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.pl.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.ko.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.ja.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.it.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.fr.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.es.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.de.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/xlf/Strings.cs.xlf |
Updates NETSDK1242; marks translation pending. |
src/sdk/src/Tasks/Common/Resources/Strings.resx |
Generalizes NETSDK1242 to unsupported target frameworks. |
src/sdk/src/Layout/redist/targets/GenerateBundledVersions.targets |
Removes current Mono metadata and retired architectures. |
src/runtime/src/tasks/tasks.proj |
Excludes the Mono AOT compiler task. |
src/runtime/src/mono/wasi/build/WasiApp.targets |
Uses CoreCLR flavor; removes Mono substitutions. |
src/runtime/src/mono/wasi/build/WasiApp.CoreCLR.targets |
Adds packaged props lookup; preserves explicit runtime selection. |
src/runtime/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.Wasi.targets.in |
Enables the current WASI workload. |
src/runtime/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.targets.in |
Retires current Mono imports and updates runtime metadata. |
src/runtime/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.json.in |
Removes retired Mono packs from runtime manifests. |
src/runtime/src/mono/nuget/Microsoft.NET.Runtime.WebAssembly.Wasi.Sdk/Sdk/Sdk.targets |
Imports CoreCLR targets only outside NativeAOT. |
src/runtime/src/mono/nuget/Microsoft.NET.Runtime.WebAssembly.Wasi.Sdk/Sdk/Sdk.props |
Defaults WASI to CoreCLR without overriding explicit selection. |
src/runtime/src/mono/nuget/Microsoft.NET.Runtime.WebAssembly.Wasi.Sdk/Microsoft.NET.Runtime.WebAssembly.Wasi.Sdk.pkgproj |
Packages CoreCLR targets and P/Invoke module props. |
src/runtime/src/mono/nuget/Microsoft.NET.Runtime.WebAssembly.Sdk/Sdk/Sdk.targets |
Excludes CoreCLR relinking imports for NativeAOT. |
src/runtime/src/mono/nuget/Microsoft.NET.Runtime.LibraryBuilder.Sdk/Sdk/Sdk.props |
Switches LibraryBuilder away from Mono. |
src/runtime/src/coreclr/.nuget/coreclr-packages.proj |
Produces shared workload packages from CoreCLR builds. |
src/runtime/eng/testing/tests.ioslike.targets |
Removes Mono LLVM test arguments. |
src/runtime/eng/targetingpacks.targets |
Removes Android x86 from local pack metadata. |
src/runtime/eng/Subsets.props |
Removes Mono subsets and consolidates packaging selection. |
src/runtime/eng/Signing.props |
Updates artifact publication for remaining runtime producers. |
src/runtime/eng/pipelines/runtime.yml |
Removes Mono jobs and expands CoreCLR WASI coverage. |
src/runtime/eng/pipelines/performance/templates/perf-wasm-prepare-artifacts-steps.yml |
Defaults to CoreCLR; removes Mono artifact exchange. |
src/runtime/eng/pipelines/performance/templates/perf-wasm-build-jobs.yml |
Removes the Mono WebAssembly performance build. |
src/runtime/eng/pipelines/performance/perf-build.yml |
Removes the Mono WebAssembly build option. |
src/runtime/eng/pipelines/libraries/helix-queues-setup.yml |
Removes Android x86 queue selection. |
src/runtime/eng/pipelines/common/templates/wasm-build-only.yml |
Deletes the Mono build-only template. |
src/runtime/eng/pipelines/common/platform-matrix.yml |
Removes the Android x86 platform entry. |
src/runtime/eng/build.sh |
Removes the Mono primary-runtime command option. |
src/runtime/eng/build.ps1 |
Removes the Mono primary-runtime command option. |
src/runtime/docs/workflow/testing/libraries/testing-apple.md |
Removes Mono AOT-LLVM testing instructions. |
src/runtime/docs/workflow/testing/libraries/testing-android.md |
Removes Mono AOT-LLVM testing instructions. |
src/runtime/Directory.Build.props |
Removes Mono manifest and cross-AOT build defaults. |
repo-projects/runtime.proj |
Requests all supported packs; retains the cDAC guard. |
repo-projects/Directory.Build.targets |
Removes current Mono pack version forwarding. |
eng/RuntimeIdentifier.props |
Removes Mono LLVM short-stack classification. |
eng/pipelines/templates/stages/vmr-verticals.yml |
Consolidates short-stack jobs and artifact dependencies. |
docs/VMR-Workload-Packs.md |
Documents current pack registration and producer jobs. |
Review effort: Balanced
lewing
approved these changes
Nov 14, 2026
akoeplinger
enabled stacked auto-merge (squash)
November 14, 2026 00:28
akoeplinger
added a commit
to dotnet/runtime
that referenced
this pull request
Nov 14, 2026
<!-- --> ## Summary Retire Mono from the top-level runtime product build and CI orchestration in favor of CoreCLR/NativeAOT: - Remove Mono subsets, capability predicates, cross-AOT/LLVM scheduling, obsolete `usemonoruntime` switches, and Mono CI/performance producers. - Move surviving mobile/WASI SDK and shared tooling producers into `clr.packages`, preserving host, diagnostics, PGO, and shared ILLink outputs. - Remove Mono runtime/cross-AOT/compiler-task demands from the current internal workload manifest; retain older-TFM manifests and the shared MonoTargets SDK required by surviving runtime-config consumers. - Retire Android x86 metadata/queue entries. Preserve other supported CoreCLR/NativeAOT RIDs. - Package the WASI CoreCLR targets and required PInvoke module props; keep browser/WASI CoreCLR relinking separate from NativeAOT publishing. WASI runtime-selection setters preserve explicit values for SDK validation. Shipping workload manifests, bundled runtime metadata, VS insertion, and root VMR orchestration require the coordinated changes in [dotnet/dotnet#10989](dotnet/dotnet#10989). Runtime-produced manifest packages are excluded from publication by `eng/Publishing.props`. Legacy standalone Mono sources, samples, functional tests, and unrelated mobile build-target/README cleanup are intentionally left for later. ## Validation - Passed 101 actual MSBuild project/property evaluations covering default/all-packs desktop, mobile, browser, WASI, CodeQL configurations, source-only selection, pass2, shared producers, and retired Mono selectors. - Parsed five pipeline YAML files and passed three evaluations using actual CI job arguments. - Rebuilt browser and WASI SDK packages. Verified fresh extracted package contents/imports, NativeAOT/CoreCLR import separation, preservation of explicit WASI runtime selections, and actual ReadyToRun PInvoke-module task execution for both globalization modes. - Bash syntax/help, PowerShell parsing/help, and `git diff --check` passed. No full cross-platform product build, native WASI link/run, mobile execution, NativeAOT publish/run, offline source build, or hosted VMR/CI execution was performed. Local package builds used `EnableHotReloadInRuntimeConfigDevFile=false` to avoid an unrelated Debug WasmAppHost static-assets mismatch. > [!NOTE] > This pull request was prepared with GitHub Copilot. Co-authored-by: Copilot App <[email protected]>
This was referenced Nov 14, 2026
This was referenced Nov 16, 2026
This was referenced Nov 23, 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.

Summary
Companion runtime PR: dotnet/runtime#137518
Validation
Full VMR/redist builds, native application compile/link/publish/run, workload/VS installation and hosted CI have not been run locally. MSBuild evaluation and framework-reference checks are not claimed as native publish validation.
Note
Prepared with GitHub Copilot.