This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
This article applies to: ✔️ .NET 6 SDK and later versions
dotnet workload search - Searches for optional workloads.
dotnet workload search [<SEARCH_STRING>] [-v|--verbosity <LEVEL>] [version <WORKLOAD_VERSION>]dotnet workload search -?|-h|--helpThedotnet workload search command lists available workloads. You can filter the list by specifying all or part of the workload ID you're looking for.
For more information about thedotnet workload commands, see thedotnet workload install command.
SEARCH_STRING
The workload ID to search for, or part of it. For example, if you specifymaui, the command lists all of the workload IDs that havemaui in their workload ID.
-?|-h|--help
Prints out a description of how to use the command.
-v|--verbosity <LEVEL>
Sets the verbosity level of the command. Allowed values areq[uiet],m[inimal],n[ormal],d[etailed], anddiag[nostic]. The default isminimal. For more information, seeLoggerVerbosity.
version <WORKLOAD_VERSION>
A workload version to display, or one or more workloads and their versions joined by the@ character. Support for the@ character is available since 9.0.200 SDK.
List all available workloads:
dotnet workload searchList all available workloads that have "maui" in their workload ID:
dotnet workload search mauiSearch for a workload that matches the provided version:
dotnet workload search version maui@10.0.100Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?