Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 11, 2025

Summary

Documents the @ symbol (response file) feature added to .NET CLI commands in SDK 9.0.2xx and 10.0.1xx.

Fixes #46671

Changes

  • Created reusable include (includes/cli-response-file.md) documenting @ option syntax and behavior
  • Updated five CLI commands with response file support:
    • dotnet workload install (9.0.2xx+)
    • dotnet workload search (9.0.2xx+)
    • dotnet new install (9.0.2xx+)
    • dotnet tool install (10.0.1xx+)
    • dotnet tool update (10.0.1xx+)
  • Added examples for dotnet workload install and dotnet tool install

Usage

# Create a response file with options
$ cat workloads.rsp
maui
wasm-tools

# Use it with @ prefix
$ dotnet workload install @workloads.rsp

Response files enable managing complex commands, avoiding terminal limits, and sharing configurations.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add @ symbol support to existing .NET CLI command documentation.</issue_title>
<issue_description>### Describe the issue or suggestion

We added support for the @ format for the dotnet workload search and install commands and dotnet new install command in 9.0.2xx and for dotnet tool install and update commands in 10.0.1xx. The existing documents for these commands should get updated to match.
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-workload-install
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-workload-search

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-install

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


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 503205</issue_description>

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

@marcpopMSFT CC @dsplaisted @baronfel

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Update .NET CLI command documentation for @ symbol support Add @ symbol response file documentation to .NET CLI commands Nov 11, 2025
Copilot AI requested a review from meaghanlewis November 11, 2025 23:01
Copilot finished work on behalf of meaghanlewis November 11, 2025 23:01
@meaghanlewis meaghanlewis deleted the copilot/update-dotnet-cli-documentation branch November 11, 2025 23:42
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 @ symbol support to existing .NET CLI command documentation.

2 participants