Skip to content

Conversation

meaghanlewis
Copy link
Contributor

@meaghanlewis meaghanlewis commented Sep 29, 2025

Summary

This pull request updates several .NET CLI tool documentation files to reflect support for .NET 6 and later, adds new options and flags to various commands, and improves clarity and coverage of command usage. The most important changes are grouped below by theme.

Platform and Version Updates:

  • Updated the "Applies to" section in all affected docs to specify support for .NET 6 and later, replacing references to older .NET Core versions. [1] [2] [3] [4] [5] [6] [7]

New and Enhanced CLI Options:

  • Added new options to commands, including --check-trust-machine-readable for dotnet dev-certs, --exclude-diagnostics and --version for dotnet format, --disable-build-servers for dotnet pack and dotnet run, --no-http-cache for dotnet restore, and --artifacts-path for dotnet run. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
  • Added --file and --interactive options to dotnet package remove, allowing removal of packages from specific files and interactive authentication. [1] [2]

Documentation Improvements:

  • Refined option descriptions and examples for greater clarity, including usage of new flags and more detailed explanations for each command. [1] [2] [3] [4]
  • Updated example sections to demonstrate new and existing options, such as removing a package from a specific file and formatting code with diagnostic filters. [1] [2]

Reference and Link Updates:

  • Updated and standardized "See also" and help sections, improving navigation and consistency across documentation. [1] [2] [3]

Minor Corrections and Consistency:

  • Made minor corrections to command descriptions and usage, such as clarifying command synopsis and fixing small typos. [1] [2]

Fixes #48686


Internal previews

📄 File 🔗 Preview link
docs/core/tools/dotnet-dev-certs.md dotnet dev-certs
docs/core/tools/dotnet-format.md dotnet format command
docs/core/tools/dotnet-msbuild.md dotnet msbuild
docs/core/tools/dotnet-pack.md docs/core/tools/dotnet-pack
docs/core/tools/dotnet-package-remove.md dotnet package remove
docs/core/tools/dotnet-restore.md dotnet restore command
docs/core/tools/dotnet-run.md dotnet run
docs/core/tools/dotnet-store.md docs/core/tools/dotnet-store
docs/core/tools/dotnet-test.md dotnet test
docs/core/tools/dotnet-watch.md dotnet watch

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
1 participant