Skip to content

dotnet list package --format=json - remove redundant auto-referenced packages warning#6997

Merged
zivkan merged 3 commits intodevfrom
LukasChristel-dev
Dec 23, 2025
Merged

dotnet list package --format=json - remove redundant auto-referenced packages warning#6997
zivkan merged 3 commits intodevfrom
LukasChristel-dev

Conversation

@nkolev92
Copy link
Member

Bug

Fixes: NuGet/Home#13080

Description

The discussion in NuGet/Home#13080 could not find a reason to have the information about auto-referenced packages twice. This PR removes the redundant information.

There is already a test in JsonRenderer_ListPackage_PackageWithAutoReference_SucceedsAsync, but it wasn't being activated correctly since the autoreference property wasn't being set.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@dotnet-policy-service dotnet-policy-service bot added the Status:No recent activity PRs that have not had any recent activity and will be closed if the label is not removed label Dec 20, 2025
@zivkan zivkan merged commit a63ce8f into dev Dec 23, 2025
17 checks passed
@zivkan zivkan deleted the LukasChristel-dev branch December 23, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status:No recent activity PRs that have not had any recent activity and will be closed if the label is not removed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dotnet list package --format=json outputs warning "(A) : Auto-referenced package."

7 participants