dotnet / dotnet/sdk

Expose the Missing Workloads (not just missing Workload Packs) as MSBuild Items when workloads are missing

Open
#41,387 0 comments 0 reactions 1 assignee Claimed by @baronfel View on GitHub
Area-Workloads untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Is your feature request related to a problem? Please describe.

When workloads are missing we populate a lot of `MissingWorkloadPack` items, which the SDK then translates into the specific workloads required to provide those packs via `dotnet workload install` and `dotnet workload restore` commands.

### Describe the solution you'd like

Today we have the [ShowMissingWorkloads](https://github.com/dotnet/sdk/blob/171723b0d76e60d147d259140adbfd078aa252a1/src/Tasks/Microsoft.NET.Build.Tasks/ShowMissingWorkloads.cs#L24-L25) task, but we should also be able to expose this during Restore for folks that need to get this mapping already. Specifically 1ES would like to know _after the Restore task is run_ what workloads are missing (if any).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.