Breaking change docs: dotnet nuget why output format changed in .NET 10.0.400 SDK#53562
Open
Breaking change docs: dotnet nuget why output format changed in .NET 10.0.400 SDK#53562
dotnet nuget why output format changed in .NET 10.0.400 SDK#53562Conversation
3 tasks
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/4256e46b-9525-4aca-8217-dc244fe0a039 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix output formatting issue in dotnet nuget why command
Breaking change docs: May 5, 2026
dotnet nuget why output format changed in .NET 10.0.400 SDK
Contributor
There was a problem hiding this comment.
Pull request overview
Documents a .NET SDK breaking change where dotnet nuget why changes how it prints package versions, adding the requested minimum version constraint alongside the resolved version to reduce ambiguity when you investigate dependency resolution.
Changes:
- Adds a new .NET 10 breaking change article describing the
dotnet nuget whyoutput format update introduced in SDK 10.0.400. - Wires the new breaking change doc into the .NET 10 compatibility index and TOC.
- Adds a version note to the
dotnet nuget whycommand reference that links to the breaking change article.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/core/tools/dotnet-nuget-why.md | Adds a note about the 10.0.400 SDK output format change and links to the breaking change article. |
| docs/core/compatibility/toc.yml | Adds the new breaking change article to the .NET 10 “SDK and MSBuild” TOC section. |
| docs/core/compatibility/sdk/10.0/dotnet-nuget-why-output-format.md | New breaking change article documenting old vs. new output formats and recommended action. |
| docs/core/compatibility/10.md | Adds the breaking change entry to the .NET 10 index table. |
gewarren
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dotnet nuget whychanged its package version display format in .NET 10.0.400 SDK to show both the resolved version and the minimum requested version constraint, breaking scripts that parse the old format.System.Text.Json (v9.0.0-rc.2.24427.10)System.Text.Json@10.0.1 (>= 9.0.0)Changes
docs/core/compatibility/sdk/10.0/dotnet-nuget-why-output-format.md— documents the format change, explains the motivation (surfacing requested vs. resolved versions for dependency investigation), and advises updating regex/parsing to handle both formats for cross-SDK-version compatibilitydocs/core/compatibility/toc.yml— adds the new article under SDK and MSBuild for .NET 10docs/core/compatibility/10.md— adds the new article to the .NET 10 breaking changes indexdocs/core/tools/dotnet-nuget-why.md— adds a version note about the 10.0.400 SDK output change with a cross-reference to the breaking change articleInternal previews
dotnet nuget whyoutput format changed