docs icon indicating copy to clipboard operation
docs copied to clipboard

Add missing --source option to dotnet tool exec documentation

Open Copilot opened this issue 1 week ago • 0 comments

Summary

The dotnet tool exec documentation was missing the --source CLI option that appears in dotnet tool exec --help output. The --configfile option mentioned in the issue was already documented.

Changes:

  • Added [--source <SOURCE>] to the synopsis section
  • Added the --source option description in an includes file cli-tool-source
  • Also added the missing option to: dotnet tool install and dotnet tool update
Original prompt

This section details on the original issue you should resolve

<issue_title>dotnet tool exec missing CLI options for NuGet config file and NuGet sources</issue_title> <issue_description>### Type of issue

Missing information

Description

In https://github.com/dotnet/sdk/issues/51994 @afscrome noted that --configfile and --source are missing from this page. We should fill them in, and their content should be the same as those options on the other dotnet tool commands.

[Enter feedback here]

Page URL

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-exec

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-tool-exec.md

Document Version Independent Id

13f795eb-782f-93a4-e6b8-b071a00035fc

Platform Id

0562cb37-b84b-cd5e-946f-2fed3e5e0619

Article author

@meaghanlewis

Metadata

  • ID: 2e0c9772-2db2-9893-4f52-8d55db948269
  • PlatformId: 0562cb37-b84b-cd5e-946f-2fed3e5e0619
  • Service: dotnet-fundamentals

Related Issues


Associated WorkItem - 537545</issue_description>

Comments on the Issue (you are @copilot in this section)

  • Fixes dotnet/docs#50334

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


Internal previews

📄 File 🔗 Preview link
docs/core/tools/dotnet-tool-exec.md dotnet tool exec
docs/core/tools/dotnet-tool-install.md dotnet tool install command
docs/core/tools/dotnet-tool-update.md dotnet tool update

Copilot avatar Dec 04 '25 23:12 Copilot