Skip to content

[release/11.0.2xx] Pin Microsoft.NETCore.Platforms with Microsoft.NETCore.App.Ref to fix installer validation 404s - #11056

Merged
mmitche merged 1 commit into
dotnet:release/11.0.2xxfrom
nagilson:fix-11.0.2xx-installer-platforms-version
Nov 17, 2026
Merged

mmitche merged 1 commit into
dotnet:release/11.0.2xxfrom
nagilson:fix-11.0.2xx-installer-platforms-version

Conversation

@nagilson

Copy link
Copy Markdown
Member

Fixes #10946

Problem

ValidateInstallers_Linux_x64/arm64 has failed in every release/11.0.2xx official build since 2026-10-28. On non-1xx bands, LinuxInstallerTests.AddRuntimePackageForDownload downloads the 1xx runtime packages from:

https://ci.dot.net/public/Runtime/{MicrosoftNETCorePlatformsVersion1xx}/{prefix}{MicrosoftNETCoreAppRefVersion1xx}-{arch}.{deb|rpm}

The VMR root eng/Version.Details.xml declares only Microsoft.NETCore.App.Ref (11.0.0-rc.2.26504.105). Because it doesn't declare Microsoft.NETCore.Platforms, MicrosoftNETCorePlatformsVersion comes from a different build (11.0.0-rc.2.26508.107, from src/sdk). That gives a folder and file name from two different builds:

URL (folder / file) Status
26508.107 / 26504.105 (current) 404
26504.105 / 26504.105 (this PR) 200

Fix

Declare Microsoft.NETCore.Platforms in the root eng/Version.Details.xml/.props, pinned to the same 1xx build as Microsoft.NETCore.App.Ref. This matches release/10.0.4xx, where both are pinned together and the installer tests pass.

Using the AppRef version for both URL segments (#10978) doesn't work for stable/servicing versions. The folder there is the prerelease build label. For example, Runtime/10.0.15/... returns 404, while Runtime/10.0.15-servicing.26529.108/dotnet-runtime-deps-10.0.15-x64.deb returns 200.

Follow-up for #10865

Once this merges, the November update (#10865) needs to bump Microsoft.NETCore.Platforms together with App.Ref (11.0.0 → Platforms 11.0.0-rtm.26529.118, SHA 297acf93). Otherwise the versions will fall out of sync again. I verified that https://ci.dot.net/public/Runtime/11.0.0-rtm.26529.118/dotnet-runtime-deps-11.0.0-x64.deb returns 200.

…Core.App.Ref

The Linux installer tests on non-1xx bands download 1xx runtime packages from
https://ci.dot.net/public/Runtime/{MicrosoftNETCorePlatformsVersion}/{prefix}{MicrosoftNETCoreAppRefVersion}...
The VMR root eng/Version.Details.xml declared only Microsoft.NETCore.App.Ref, so
MicrosoftNETCorePlatformsVersion came from another build and the URL 404'd.
Pin both to the same 1xx build, matching release/10.0.4xx.

Fixes dotnet#10946

Co-authored-by: Copilot <[email protected]>
Copilot-Session: e737c0fe-9a50-4211-9774-3652fe23d19f
@nagilson
nagilson requested review from a team as code owners November 16, 2026 22:08
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@nagilson

Copy link
Copy Markdown
Member Author

The only failing check is "Validate user changes in VMR", and it's expected. ChangeValidation rejects any manual edit to eng/Version.Details.xml/.props regardless of content (see eng/tools/ChangeValidation/ToolingFilesValidation.cs). All build and validation legs pass.

#10249 changed these same files on release/11.0.2xx, failed this same check, and was merged anyway. This PR follows the same approach, which looks like the correct one: pin Microsoft.NETCore.Platforms alongside Microsoft.NETCore.App.Ref in the root Version.Details, the same way release/10.0.4xx does.

@mmitche
mmitche merged commit 3aae1dd into dotnet:release/11.0.2xx Nov 17, 2026
6 of 8 checks passed
@mmitche

mmitche commented Nov 17, 2026

Copy link
Copy Markdown
Member

@nagilson On second look, this does appear to be correct. My mistake.

JanProvaznik added a commit that referenced this pull request Nov 19, 2026
…xx wasm version from App.Ref

Resolves the Version.Details.props conflict with #11056 (Microsoft.NETCore.Platforms must match the App.Ref build: 11.0.0-rtm.26529.118, whose ci.dot.net Runtime folder exists). Uses MicrosoftNETCoreAppRefVersion for the 1xx wasm packages, as #3305 did for 10.0.2xx at 10.0 GA.

Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants