Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the visualstudio2022 workload name for Microsoft.NetCore.Component.SDK? #150

Open
TraGicCode opened this issue May 30, 2024 · 1 comment

Comments

@TraGicCode
Copy link

Hey @jberezanski ,

I can't seem to find it but what is the name of the chocolatey package for the workload called Microsoft.NetCore.Component.SDK for visualstudio build tools 2022?

@jberezanski
Copy link
Owner

Microsoft.NetCore.Component.SDK is a component, not a workload. This page shows the list of all components of Build Tools 2022 and which workloads they are included in.

In this case, Microsoft.NetCore.Component.SDK will be found in:

  • Azure development build tools (id: Microsoft.VisualStudio.Workload.AzureBuildTools), Optional
  • .NET desktop build tools (id: Microsoft.VisualStudio.Workload.ManagedDesktopBuildTools), Recommended
  • Windows application development build tools (id: Microsoft.VisualStudio.Workload.UniversalBuildTools), Required
  • Web development build tools (id: Microsoft.VisualStudio.Workload.WebBuildTools), Recommended
  • .NET Multi-platform App UI development (id: Microsoft.VisualStudio.Workload.XamarinBuildTools), Required

Chocolatey packages for each workload are named visualstudio2022-workload-<name>, where is the last part of the workload id (after the last dot), so for example the package for the "Azure development build tools" workload is visualstudio2022-workload-azurebuildtools.

If the component is marked as "Required" or "Recommended" for the given workload, it will be installed automatically with the workload when you install the Chocolatey package. If the component is marked as "Optional", you need to pass --includeOptional in package parameters (e.g. choco install visualstudio2022-workload-azurebuildtools --package-parameters "--includeOptional").

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

No branches or pull requests

2 participants