Skip to content

Clarify dotnet new NuGet source option - #55437

Merged
adegeo merged 3 commits into
mainfrom
copilot/fix-nuget-source-description
Aug 17, 2026
Merged

Clarify dotnet new NuGet source option#55437
adegeo merged 3 commits into
mainfrom
copilot/fix-nuget-source-description

Conversation

Copilot AI commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

The --add-source|--nuget-source docs implied the option adds a source to the configured NuGet source list. The option only adds a source for the current dotnet new operation.

  • Clarified source behavior

    • Updated dotnet new install, dotnet new update, and dotnet new details to state that --nuget-source is used in addition to configured sources for the command only.
    • Explicitly notes that the option doesn't modify NuGet configuration.
  • Cleaned related command docs

    • Corrected the dotnet new update option heading to include --nuget-source.
    • Fixed copied wording that referenced dotnet new install from the dotnet new update page.

Internal previews

File Preview link
docs/core/tools/dotnet-new-details.md Preview published page
docs/core/tools/dotnet-new-install.md Preview published page
docs/core/tools/dotnet-new-update.md Preview published page

Copilot AI lite review requested due to automatic review settings August 13, 2026 18:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Co-authored-by: adegeo <67293991+adegeo@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix misleading description of --nuget-source option Clarify dotnet new NuGet source option Aug 13, 2026
Copilot AI requested a review from adegeo August 13, 2026 18:40
@adegeo

adegeo commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

@copilot I think the "in addition to" clause clears up the ambiguity. Remove the for this command only. The option doesn't add the source to your NuGet configuration clause as it doesn't add value.

Co-authored-by: adegeo <67293991+adegeo@users.noreply.github.com>

Copilot AI commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot I think the "in addition to" clause clears up the ambiguity. Remove the for this command only. The option doesn't add the source to your NuGet configuration clause as it doesn't add value.

Addressed in 78ecf3a.

@adegeo
adegeo marked this pull request as ready for review August 17, 2026 19:11
@adegeo
adegeo requested review from a team and meaghanlewis as code owners August 17, 2026 19:11
@adegeo
adegeo merged commit 6055cc9 into main Aug 17, 2026
12 checks passed
@adegeo
adegeo deleted the copilot/fix-nuget-source-description branch August 17, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The --nuget-source option description could be misleading

4 participants