Skip to content

Conversation

Nigusu-Allehu
Copy link
Member

@Nigusu-Allehu Nigusu-Allehu commented Oct 9, 2025

Clarified behavior of the 'dotnet package list' command regarding automatic restore and added information about the '--no-restore' option.

Fixes NuGet/Home#14570


Internal previews

📄 File 🔗 Preview link
docs/core/tools/dotnet-package-list.md docs/core/tools/dotnet-package-list

Clarified behavior of the 'dotnet package list' command regarding automatic restore and added information about the '--no-restore' option.
@Copilot Copilot AI review requested due to automatic review settings October 9, 2025 23:17
@Nigusu-Allehu Nigusu-Allehu requested a review from a team as a code owner October 9, 2025 23:17
@dotnetrepoman dotnetrepoman bot added this to the October 2025 milestone Oct 9, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the documentation for the dotnet package list command to clarify its automatic restore behavior and add information about the --no-restore option. The changes reflect a behavioral improvement in .NET 10 where the command automatically performs restore operations when needed.

Key changes:

  • Updated command syntax to include the --no-restore option
  • Clarified that .NET 10 automatically performs restore before listing packages
  • Added example outputs showing restore progress messages
  • Documented the --no-restore option to skip automatic restore

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

@meaghanlewis meaghanlewis left a comment

Choose a reason for hiding this comment

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

@Nigusu-Allehu thank you for adding in this option! I left a few suggestions about line spacing, otherwise LGTM.

Nigusu-Allehu and others added 2 commits October 10, 2025 12:10
Co-authored-by: Meaghan Osagie (Lewis) <mosagie@microsoft.com>
Co-authored-by: Meaghan Osagie (Lewis) <mosagie@microsoft.com>
@Nigusu-Allehu Nigusu-Allehu merged commit 4e8c6d3 into main Oct 12, 2025
10 checks passed
@Nigusu-Allehu Nigusu-Allehu deleted the dev-nyenework-list-restore branch October 12, 2025 17:16
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.

Document "dotnet package list now runs NuGet Restore if needed " for .NET 10

3 participants