Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

dotnet workload search

Feedback

In this article

This article applies to: ✔️ .NET 6 SDK and later versions

Name

dotnet workload search - Searches for optional workloads.

Synopsis

dotnet workload search [<SEARCH_STRING>] [-v|--verbosity <LEVEL>] [version <WORKLOAD_VERSION>]dotnet workload search -?|-h|--help

Description

Thedotnet 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.

Arguments

  • 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.

Options

  • -?|-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.

Examples

  • List all available workloads:

    dotnet workload search
  • List all available workloads that have "maui" in their workload ID:

    dotnet workload search maui
  • Search for a workload that matches the provided version:

    dotnet workload search version maui@10.0.100
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, seeour contributor guide.

Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?