Skip to content

Bootstrap repo fix for 2xx#2806

Merged
mthalman merged 6 commits into
dotnet:release/10.0.2xxfrom
mthalman:dev/mthalman/2xx-sbrp
Oct 13, 2025
Merged

Bootstrap repo fix for 2xx#2806
mthalman merged 6 commits into
dotnet:release/10.0.2xxfrom
mthalman:dev/mthalman/2xx-sbrp

Conversation

@mthalman

@mthalman mthalman commented Oct 9, 2025

Copy link
Copy Markdown
Member

VMR builds for release/10.0.2xx are failing for SB legs that are not based on CentOS with the following error:

/repos/dotnet2/src/source-build-reference-packages/src/targetPacks/ILsrc/netstandard.library/2.0.3/NETStandard.Library.2.0.3.csproj error NU1603: NETStandard.Library.2.0.3 depends on runtime.ubuntu.24.04-x64.Microsoft.NETCore.ILAsm (>= 10.0.0-rc.1.25451.107) but runtime.ubuntu.24.04-x64.Microsoft.NETCore.ILAsm 10.0.0-rc.1.25451.107 was not found. runtime.ubuntu.24.04-x64.Microsoft.NETCore.ILAsm 10.0.0-rc.2.25479.113 was resolved instead. [/repos/dotnet2/.dotnet/sdk/10.0.100-rc.2.25479.113/NuGet.targets]

This occurs because the MicrosoftNETCoreILAsmPackageVersion property is not being overridden. It's using the version from PSB instead of from the shared components (1xx branch).

This is due to the logic which collects the packages that are relevant for representation within the PackageVersions.*.SharedComponents.props file. That excludes all packages when processing the source-build-reference-packages. But we do want to allow for packages where the SBRP repo itself has a dependency on.

This is fixed by explicitly allowing for SBRP's dependency packages to be included in this process of generating the SharedComponents.props file.

Another fix that was needed was to fix the pipeline logic to allow for artifact bootstrapping in 2xx builds. This was being skipped in the script.

Comment thread eng/shared-source-only.targets Outdated
Comment thread repo-projects/Directory.Build.targets Outdated
Comment thread eng/shared-source-only.targets Outdated
@mthalman mthalman changed the title SBRP fix for 2xx Bootstrap repo fix for 2xx Oct 10, 2025
@mthalman mthalman enabled auto-merge (squash) October 10, 2025 21:00
@mthalman mthalman merged commit 0716087 into dotnet:release/10.0.2xx Oct 13, 2025
7 checks passed
@mthalman mthalman deleted the dev/mthalman/2xx-sbrp branch October 13, 2025 20:38
@mthalman

Copy link
Copy Markdown
Member Author

/backport to release/10.0.1xx

@github-actions

Copy link
Copy Markdown
Contributor

@mthalman

Copy link
Copy Markdown
Member Author

/backport to main

@github-actions

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants