Skip to content

Skip build-time RID fallback for portable builds - #129944

Merged
jkotas merged 1 commit into
dotnet:mainfrom
am11:patch-58
Jun 28, 2026
Merged

jkotas merged 1 commit into
dotnet:mainfrom
am11:patch-58

Conversation

@am11

@am11 am11 commented Jun 28, 2026

Copy link
Copy Markdown
Member

When runtime.json (legacy/frozen graph) doesn't have the RID (e.g. openbsd-x64), we end up with a self-referencing RID. It only works when we have non-portable build and TargetRID != PortableTargetRID (basically "non-portable build" means two distinct things: it will use distro packages for 3p deps rather than in-tree ones, and it will have different RID with version and/or distro name; latter is not applicable if we want to just build from source with regular/portable RID).

@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Jun 28, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

@jkotas
jkotas merged commit 2dd3520 into dotnet:main Jun 28, 2026
98 checks passed
@am11
am11 deleted the patch-58 branch June 28, 2026 14:04
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jun 29, 2026
eiriktsarpalis pushed a commit that referenced this pull request Jul 15, 2026
When runtime.json (legacy/frozen graph) doesn't have the RID (e.g.
openbsd-x64), we end up with a self-referencing RID. It only works when
we have non-portable build and TargetRID != PortableTargetRID (basically
"non-portable build" means two distinct things: it will use distro
packages for 3p deps rather than in-tree ones, and it will have
different RID with version and/or distro name; latter is not applicable
if we want to just build from source with regular/portable RID).
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Infrastructure-libraries community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants