-
Notifications
You must be signed in to change notification settings - Fork 6k
Add new command reference articles #48788
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
Open
meaghanlewis
wants to merge
3
commits into
dotnet:main
Choose a base branch
from
meaghanlewis:add-dotnet-command-reference
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add new command reference articles #48788
meaghanlewis
wants to merge
3
commits into
dotnet:main
from
meaghanlewis:add-dotnet-command-reference
+149
−0
Conversation
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
gewarren
approved these changes
Oct 2, 2025
|
||
- **`-p|--project <PROJECT>`** | ||
|
||
The project file to operate on. If a solution file is specified, the command will update the package in all projects in the solution that reference it. If not specified, the command will search the current directory for a project file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
The project file to operate on. If a solution file is specified, the command will update the package in all projects in the solution that reference it. If not specified, the command will search the current directory for a project file. | |
The project file to operate on. If a solution file is specified, the command updates the package in all projects in the solution that reference it. If not specified, the command searches the current directory for a project file. |
@@ -0,0 +1,42 @@ | |||
--- | |||
title: dotnet workload clean command | |||
description: "The `dotnet workload clean` command removes workload components that may have been left behind from previous updates and uninstallations." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
description: "The `dotnet workload clean` command removes workload components that may have been left behind from previous updates and uninstallations." | |
description: "The `dotnet workload clean` command removes workload components that might have been left behind from previous updates and uninstallations." |
|
||
## Name | ||
|
||
`dotnet workload clean` - Removes workload components that may have been left behind from previous updates and uninstallations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
`dotnet workload clean` - Removes workload components that may have been left behind from previous updates and uninstallations. | |
`dotnet workload clean` - Removes workload components that might have been left behind from previous updates and uninstallations. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This pull request adds documentation for new .NET CLI commands and updates navigation and index files to include these commands. The main focus is on introducing the
dotnet package update
,dotnet workload clean
, anddotnet workload history
commands, ensuring they are discoverable and properly described in the documentation.New command documentation:
dotnet package update
command, detailing its usage, options, and examples.dotnet workload clean
command, describing its purpose, options, and usage examples.dotnet workload history
command, including its function and options.Navigation and index updates:
docs/core/tools/dotnet.md
to list the new commands (dotnet package update
,dotnet workload clean
,dotnet workload config
,dotnet workload history
, anddotnet workload restore
) in the appropriate command tables. [1] [2]docs/core/tools/index.md
to includeworkload clean
andworkload history
in the list of default installed commands.docs/navigate/tools-diagnostics/toc.yml
to add navigation entries fordotnet package update
,dotnet workload clean
, anddotnet workload history
. [1] [2]Fixes #48686
Internal previews