Skip to content

Remove mono.workloads subset and VS workloads build logic from src/runtime - #6358

Merged
jkoritzinsky merged 2 commits into
mainfrom
copilot/remove-build-logic-vs-workloads
Jul 21, 2026
Merged

Remove mono.workloads subset and VS workloads build logic from src/runtime#6358
jkoritzinsky merged 2 commits into
mainfrom
copilot/remove-build-logic-vs-workloads

Conversation

Copilot AI commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

The mono.workloads subset in src/runtime — responsible for building VS workload installers and insertion metadata for Blazor workloads — has been superseded by equivalent logic in src/sdk and is no longer used.

Removed

  • src/workloads/ — entire directory (workloads.csproj, VSSetup.props/targets, mono_wasm_mobile.vsmanproj)
  • eng/Subsets.propsMono.Workloads subset name declaration, +mono.workloads from AllSubsetsExpansion, and the ItemGroup that referenced workloads.csproj
  • Directory.Build.propsWorkloadsProjectRoot property
  • eng/Version.Details.xml / Version.Details.propsMicrosoft.DotNet.Build.Tasks.Workloads dependency and its version properties
  • eng/Versions.propsSwixPackageVersion (MicroBuild.Plugins.SwixBuild.Dotnet), which was exclusively consumed by workloads.csproj
  • eng/pipelines/common/evaluate-default-paths.ymlsrc/workloads/* always-exclude entry
  • eng/pipelines/common/xplat-setup.ymlDarcDependenciesChanged.Microsoft_DotNet_Build_Tasks_Workloads condition from the wasm dependency change check

The VS workloads build logic (mono.workloads subset) in src/runtime has been
unused since the equivalent logic moved to src/sdk. This removes:
- The mono.workloads subset and ItemGroup from eng/Subsets.props
- The WorkloadsProjectRoot property from Directory.Build.props
- The src/workloads/ directory (workloads.csproj, VSSetup.props/targets,
  mono_wasm_mobile.vsmanproj, readme.md)
- The Microsoft.DotNet.Build.Tasks.Workloads dependency from Version.Details.xml
  and Version.Details.props
- The SwixPackageVersion entry from Versions.props
- The src/workloads/* exclusion from evaluate-default-paths.yml
- The DarcDependenciesChanged.Microsoft_DotNet_Build_Tasks_Workloads check
  from xplat-setup.yml

Agent-Logs-Url: https://github.com/dotnet/dotnet/sessions/93f24aa7-49fc-4f17-b9e6-15f9f2ebff2c

Co-authored-by: jkoritzinsky <1571408+jkoritzinsky@users.noreply.github.com>
@jkoritzinsky
jkoritzinsky marked this pull request as ready for review April 28, 2026 20:32
Copilot AI review requested due to automatic review settings April 28, 2026 20:32
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team April 28, 2026 20:32
@mthalman
mthalman requested review from joeloff and marcpopMSFT April 28, 2026 20:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Removes the legacy mono.workloads subset and the src/runtime/src/workloads build logic for VS workload installers/insertion metadata, since equivalent functionality now lives in src/sdk and the runtime copy is no longer used.

Changes:

  • Deleted the src/runtime/src/workloads/ project and associated VS setup assets.
  • Removed the Mono.Workloads subset and its project-to-build wiring from eng/Subsets.props.
  • Cleaned up runtime eng/pipeline dependencies and version properties that were only used by the removed workloads project.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/runtime/src/workloads/workloads.csproj Removes the workloads MSBuild project that produced VS workload installers/metadata.
src/runtime/src/workloads/readme.md Removes local build instructions tied to the deleted workloads project.
src/runtime/src/workloads/mono_wasm_mobile.vsmanproj Removes VS manifest project used by the deleted workloads build.
src/runtime/src/workloads/VSSetup.targets Removes VS drop publishing targets only used by the deleted workloads flow.
src/runtime/src/workloads/VSSetup.props Removes VS drop configuration properties only used by the deleted workloads flow.
src/runtime/eng/pipelines/common/xplat-setup.yml Drops a workloads-specific Darc dependency change condition.
src/runtime/eng/pipelines/common/evaluate-default-paths.yml Removes src/workloads/* from always-excluded paths since the directory is removed.
src/runtime/eng/Versions.props Removes SwixPackageVersion property previously only consumed by workloads.csproj.
src/runtime/eng/Version.Details.xml Removes Microsoft.DotNet.Build.Tasks.Workloads dependency entry no longer needed.
src/runtime/eng/Version.Details.props Removes MicrosoftDotNetBuildTasksWorkloads* version properties no longer needed.
src/runtime/eng/Subsets.props Removes Mono.Workloads subset and its build item group; removes it from subset expansion.
src/runtime/Directory.Build.props Removes WorkloadsProjectRoot property used only by the removed subset/project.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jkoritzinsky
jkoritzinsky enabled auto-merge (squash) July 20, 2026 21:43
@jkoritzinsky
jkoritzinsky merged commit bb1a3de into main Jul 21, 2026
11 checks passed
@jkoritzinsky
jkoritzinsky deleted the copilot/remove-build-logic-vs-workloads branch July 21, 2026 00:30
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.

4 participants