Skip to content

Add dotnet12 feeds to NuGet.config - #11893

Merged
subhajitm merged 1 commit into
mainfrom
dev/subhajitm/add-dotnet12-feeds
Sep 4, 2026
Merged

Add dotnet12 feeds to NuGet.config#11893
subhajitm merged 1 commit into
mainfrom
dev/subhajitm/add-dotnet12-feeds

Conversation

@subhajitm

@subhajitm subhajitm commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Problem

Codeflow PR #11869 ([main] Source code updates from dotnet/dotnet) fails restore on every leg:

Tools.proj : error NU1102: Unable to find package Microsoft.NETCore.App.Ref
             with version (= 11.0.0-rc.1.26452.110)

Same for Microsoft.NETCore.App.Runtime.win-{x86,x64,arm64} and Microsoft.NETCore.App.Host.win-{x86,x64,arm64}.

Cause

The VMR (dotnet/dotnet main) now publishes its 11.0.0-rc.1.* assets to the dotnet12 and dotnet12-transport feeds. Our NuGet.config only lists feeds up to dotnet11, so those packages are unreachable.

Verified against the live feeds:

Check Result
11.0.0-rc.1.26452.110 on any of the 14 feeds we list absent everywhere
11.0.0-rc.1.26411.119 (what main uses today) present on dotnet11
Newest rc.1 available on dotnet11 11.0.0-rc.1.26431.118
11.0.0-rc.1.26452.110 on dotnet12 present (all 7 failing packages, plus crossgen2)
Microsoft.Private.Winforms 11.0.0-rc.1.26452.110 present on dotnet12-transport
dotnet/winforms NuGet.config already lists both dotnet12 feeds

This is not a version-number problem and not a source bug — the referenced assets exist, just on a feed we do not consume yet.

Fix

Add the two dotnet12 sources, matching what dotnet/winforms already carries.

Validation

Applied on top of #11869 locally and ran Restore.cmd -ci for x86, x64 and arm64 — all three succeeded with 0 errors. All seven previously-NU1102 packages resolve at 11.0.0-rc.1.26452.110, and .nupkg.metadata confirms dotnet12 as the source.

Notes

  • NuGet.config is meant to stay in sync with the dotnet-wpf-int repo; matching PRs are being raised there and in dnceng/internal/dotnet-wpf.
  • Raised as a standalone change against main rather than editing the maestro-owned codeflow branch, since darc would overwrite hand-edits there. This unblocks every future main codeflow, not just [main] Source code updates from dotnet/dotnet #11869.
Microsoft Reviewers: Open in CodeFlow

The VMR (dotnet/dotnet) main branch now publishes its 11.0.0-rc.1.* assets to
the dotnet12/dotnet12-transport feeds. WPF's NuGet.config only listed feeds up
to dotnet11, so codeflow PR #11869 failed restore with NU1102 on
Microsoft.NETCore.App.{Ref,Runtime.win-*,Host.win-*} 11.0.0-rc.1.26452.110.

dotnet/winforms already carries these two sources.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dotnet-policy-service dotnet-policy-service Bot added the PR metadata: Label to tag PRs, to facilitate with triage label Sep 3, 2026
@subhajitm
subhajitm marked this pull request as ready for review September 4, 2026 09:30
@subhajitm
subhajitm requested review from a team and a lite review from Copilot September 4, 2026 09:30
@subhajitm
subhajitm requested a review from a team as a code owner September 4, 2026 09:30

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.

🟢 Approval recommended

The change is a minimal, well-scoped NuGet feed addition that aligns with the stated restore failure cause and does not alter build logic.

Pull request overview

This PR updates the repository’s NuGet.config package sources to include the dotnet12 and dotnet12-transport Azure DevOps feeds so restores can resolve newly published VMR (dotnet/dotnet main) assets that are no longer present on dotnet11 feeds.

Changes:

  • Add dotnet12 package source.
  • Add dotnet12-transport package source.
File summaries
File Description
NuGet.config Adds dotnet12 and dotnet12-transport feeds to unblock restores that require packages published to those sources.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

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

@subhajitm
subhajitm merged commit 1b52df6 into main Sep 4, 2026
9 checks passed
@subhajitm
subhajitm deleted the dev/subhajitm/add-dotnet12-feeds branch September 4, 2026 09:58
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

draft PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants