-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Update .NET CLI command docs to reflect support for @ symbol #49872
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
Merged
+54
−15
Merged
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
1e1dc8c
Update .NET CLI command docs to reflect support for @ symbol
meaghanlewis d0b2abf
Update documentation to replace "at symbol" with "character" for clarity
meaghanlewis 172f89d
Apply suggestions from code review
meaghanlewis db1ec05
Apply suggestions from code review
meaghanlewis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| --- | ||
| title: dotnet tool install command | ||
| description: The dotnet tool install command installs the specified .NET tool on your machine. | ||
| ms.date: 10/28/2025 | ||
| ms.date: 11/12/2025 | ||
| --- | ||
| # dotnet tool install | ||
|
|
||
|
|
@@ -94,6 +94,8 @@ For more information, see [Install a local tool](global-tools.md#install-a-local | |
|
|
||
| Name/ID of the NuGet package that contains the .NET tool to install. | ||
|
|
||
| Starting in .NET 10.0.100 SDK, use the name/ID, and version seperated by `@` to install a .NET tool. | ||
meaghanlewis marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Options | ||
|
|
||
| [!INCLUDE [allow-downgrade](../../../includes/cli-allow-downgrade.md)] | ||
|
|
@@ -201,10 +203,18 @@ For more information, see [Install a local tool](global-tools.md#install-a-local | |
|
|
||
| Installs version 2.0.0 of [dotnetsay](https://www.nuget.org/packages/dotnetsay/) as a global tool. | ||
|
|
||
| - **`dotnet tool install -g [email protected]`** | ||
|
|
||
| Installs version 2.1.7 of [dotnetsay](https://www.nuget.org/packages/dotnetsay/) as a global tool. | ||
|
|
||
| - **`dotnet tool install dotnetsay`** | ||
|
|
||
| Installs [dotnetsay](https://www.nuget.org/packages/dotnetsay/) as a local tool for the current directory. | ||
|
|
||
| - **`dotnet tool install [email protected]`** | ||
|
|
||
| Installs version 2.1.7 of [dotnetsay](https://www.nuget.org/packages/dotnetsay/) as a local tool for the current directory. | ||
|
|
||
| - **`dotnet tool install -g dotnetsay --verbosity minimal`** | ||
|
|
||
| Installs [dotnetsay](https://www.nuget.org/packages/dotnetsay/) as a global tool with the verbosity of minimal. The default verbosity for global tool is quiet. | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| --- | ||
| title: dotnet tool update command | ||
| description: The dotnet tool update command updates the specified .NET tool on your machine. | ||
| ms.date: 10/28/2025 | ||
| ms.date: 11/12/2025 | ||
| --- | ||
| # dotnet tool update | ||
|
|
||
|
|
@@ -54,7 +54,11 @@ The `dotnet tool update` command provides a way for you to update .NET tools on | |
|
|
||
| - **`PACKAGE_ID`** | ||
|
|
||
| Name/ID of the NuGet package that contains the .NET global tool to update. You can find the package name using the [dotnet tool list](dotnet-tool-list.md) command. | ||
| Name/ID of the NuGet package that contains the .NET global tool to update. | ||
|
|
||
| Starting in .NET 10.0.100 SDK, use the name/ID, and version seperated by `@` to update a .NET tool. | ||
meaghanlewis marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| You can find the package name using the [dotnet tool list](dotnet-tool-list.md) command. | ||
|
|
||
| ## Options | ||
|
|
||
|
|
@@ -138,9 +142,13 @@ The `dotnet tool update` command provides a way for you to update .NET tools on | |
|
|
||
| Updates the [dotnetsay](https://www.nuget.org/packages/dotnetsay/) global tool to the latest patch version, with a major version of `2`, and a minor version of `0`. | ||
|
|
||
| - **`dotnet tool update -g dotnetsay --version (2.0.*,2.1.4)`** | ||
| - **`dotnet tool update -g [email protected]*`** | ||
|
|
||
| Updates the [dotnetsay](https://www.nuget.org/packages/dotnetsay/) global tool to the latest patch version, 2.1.7. | ||
meaghanlewis marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - **`dotnet tool update -g dotnetsay --version (2.0.0,2.1.7)`** | ||
|
|
||
| Updates the [dotnetsay](https://www.nuget.org/packages/dotnetsay/) global tool to the lowest version within the specified range `(> 2.0.0 && < 2.1.4)`, version `2.1.0` would be installed. For more information on semantic versioning ranges, see [NuGet packaging version ranges](/nuget/concepts/package-versioning#version-ranges). | ||
| Updates the [dotnetsay](https://www.nuget.org/packages/dotnetsay/) global tool to the lowest version within the specified range `(> 2.0.0 && < 2.1.7)`, version `2.1.0` would be installed. For more information on semantic versioning ranges, see [NuGet packaging version ranges](/nuget/concepts/package-versioning#version-ranges). | ||
|
|
||
| ## See also | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| --- | ||
| title: dotnet workload install command | ||
| description: The 'dotnet workload install' command installs optional workloads. | ||
| ms.date: 09/10/2021 | ||
| ms.date: 11/12/2025 | ||
| no-loc: [dotnet workload install] | ||
| --- | ||
| # dotnet workload install | ||
|
|
@@ -96,7 +96,7 @@ The `dotnet workload update` command also downloads advertising manifests. The d | |
|
|
||
| [!INCLUDE [verbosity](../../../includes/cli-verbosity-packages.md)] | ||
|
|
||
| [!INCLUDE [version](../../../includes/cli-version.md)] | ||
| [!INCLUDE [workload-version](../../../includes/cli-workload-version.md)] | ||
|
|
||
| ## Examples | ||
|
|
||
|
|
@@ -111,3 +111,9 @@ The `dotnet workload update` command also downloads advertising manifests. The d | |
| ```dotnetcli | ||
| dotnet workload install maui-android maui-ios | ||
| ``` | ||
|
|
||
| - Install the workload version specified by the `@` character: | ||
|
|
||
| ```dotnetcli | ||
| dotnet workload install [email protected] | ||
| ``` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| --- | ||
| title: dotnet workload search command | ||
| description: The 'dotnet workload search' command searches for optional workloads. | ||
| ms.date: 08/31/2021 | ||
| ms.date: 11/12/2025 | ||
| --- | ||
| # dotnet workload search | ||
|
|
||
|
|
@@ -14,7 +14,7 @@ ms.date: 08/31/2021 | |
| ## Synopsis | ||
|
|
||
| ```dotnetcli | ||
| dotnet workload search [<SEARCH_STRING>] [-v|--verbosity <LEVEL>] | ||
| dotnet workload search [<SEARCH_STRING>] [-v|--verbosity <LEVEL>] [version <WORKLOAD_VERSION>] | ||
|
|
||
| dotnet workload search -?|-h|--help | ||
| ``` | ||
|
|
@@ -37,6 +37,8 @@ For more information about the `dotnet workload` commands, see the [dotnet workl | |
|
|
||
| [!INCLUDE [verbosity](../../../includes/cli-verbosity-minimal.md)] | ||
|
|
||
| [!INCLUDE [workload-version](../../../includes/cli-workload-version.md)] | ||
|
|
||
| ## Examples | ||
|
|
||
| - List all available workloads: | ||
|
|
@@ -50,3 +52,9 @@ For more information about the `dotnet workload` commands, see the [dotnet workl | |
| ```dotnetcli | ||
| dotnet workload search maui | ||
| ``` | ||
|
|
||
| - Search for a workload that matches the provided version: | ||
|
|
||
| ```dotnetcli | ||
| dotnet workload search version [email protected] | ||
| ``` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| ms.date: 11/12/2025 | ||
| ms.topic: include | ||
| --- | ||
| - **`version <WORKLOAD_VERSION>`** | ||
|
|
||
| A workload version to display, or one or more workloads and their versions joined by the `@` character. Support for `@` character available since 9.0.200 SDK. | ||
meaghanlewis marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
meaghanlewis marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.