Skip to content

Conversation

meaghanlewis
Copy link
Contributor

@meaghanlewis meaghanlewis commented Sep 29, 2025

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, and dotnet workload history commands, ensuring they are discoverable and properly described in the documentation.

New command documentation:

  • Added a new documentation page for the dotnet package update command, detailing its usage, options, and examples.
  • Added documentation for the dotnet workload clean command, describing its purpose, options, and usage examples.
  • Added documentation for the dotnet workload history command, including its function and options.

Navigation and index updates:

  • Updated docs/core/tools/dotnet.md to list the new commands (dotnet package update, dotnet workload clean, dotnet workload config, dotnet workload history, and dotnet workload restore) in the appropriate command tables. [1] [2]
  • Updated docs/core/tools/index.md to include workload clean and workload history in the list of default installed commands.
  • Updated docs/navigate/tools-diagnostics/toc.yml to add navigation entries for dotnet package update, dotnet workload clean, and dotnet workload history. [1] [2]

Fixes #48686


Internal previews

📄 File 🔗 Preview link
docs/core/tools/dotnet-package-update.md dotnet package update
docs/core/tools/dotnet-workload-clean.md dotnet workload clean
docs/core/tools/dotnet-workload-history.md dotnet workload history command
docs/core/tools/dotnet.md dotnet command
docs/core/tools/index.md docs/core/tools/index
docs/navigate/tools-diagnostics/toc.yml docs/navigate/tools-diagnostics/toc

@meaghanlewis meaghanlewis marked this pull request as ready for review October 2, 2025 22:24
@meaghanlewis meaghanlewis requested review from adegeo and a team as code owners October 2, 2025 22:24

- **`-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.
Copy link
Contributor

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."
Copy link
Contributor

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.
Copy link
Contributor

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add missing dotnetcommands and options
3 participants