chore(deps): raise the Microsoft.Extensions family past the downgrade - #532
Merged
Conversation
Two Dependabot PRs were failing on the same thing, and neither of them was the problem: #529: ModelContextProtocol 2.2.0 -> Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10) #524: Microsoft.Extensions.Http 10.0.11 -> Diagnostics 10.0.11 NU1109, detected package downgrade. Directory.Packages.props pinned the Microsoft.Extensions.* family at 10.0.8, and anything that reached for a newer one transitively could not restore. Central package management is what made both PRs fail; it is also why one edit fixes both. Ten pins raised to 10.0.11. Deliberately not touching the AspNetCore or EntityFrameworkCore pins still on 10.0.8 — different families, not implicated in either error, and moving them would widen this past what was diagnosed. Microsoft.Extensions.AI stays on its own 10.6.0 line. Verified: restore, Release build, 886 unit tests. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MkGcwmi1fuGCBLmGwdEZ1F
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.
Two Dependabot PRs were failing on the same error, and neither of them was the cause:
NU1109, detected package downgrade.Directory.Packages.propspinned theMicrosoft.Extensions.*family at
10.0.8, so anything reaching for a newer one transitively could not restore.Central package management is what made both PRs fail — and it is also why one edit fixes both.
That is the trade, visible from both sides in the same afternoon.
Ten pins raised to
10.0.11. Deliberately not touching the AspNetCore or EntityFrameworkCorepins still on
10.0.8: different families, not implicated in either error, and moving them wouldwiden this past what was diagnosed.
Microsoft.Extensions.AIstays on its own10.6.0line.Verification
dotnet restoreclean, Release build succeeds, 886 unit tests pass.Once this lands, #524 and #529 should rebase green on their own.
Rollback
Revert. Both Dependabot PRs go back to failing at restore.
🤖 Generated with Claude Code
https://claude.ai/code/session_01MkGcwmi1fuGCBLmGwdEZ1F