Skip to content

Consolidate package RID lists under eng/ - #136770

Open
am11 wants to merge 9 commits into
dotnet:mainfrom
am11:chore/consolidate-package-rids
Open

am11 wants to merge 9 commits into
dotnet:mainfrom
am11:chore/consolidate-package-rids

Conversation

@am11

@am11 am11 commented Nov 1, 2026

Copy link
Copy Markdown
Member

No description provided.

@azure-pipelines

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

@am11
am11 requested a review from jkoritzinsky November 1, 2026 01:59
@am11
am11 force-pushed the chore/consolidate-package-rids branch 5 times, most recently from 461d241 to fda6ffe Compare November 1, 2026 03:49
@am11
am11 force-pushed the chore/consolidate-package-rids branch from fda6ffe to 354bbd4 Compare November 1, 2026 04:06
Comment thread eng/PackageRids.props Resolved
Co-authored-by: Cursor <cursoragent@cursor.com>
am11 added 2 commits November 6, 2026 20:15
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

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.

🟡 Changes recommended

The new linux-bionic-* entries make ILCompiler and ILAsm/ILDAsm restores request packages that Bionic builds do not produce, requiring tool-specific RID filtering.

2 open issues
What changed in this PR

Consolidates package runtime identifier (RID) definitions under eng/, sharing them across installer and CoreCLR tool packaging.

Changes:

  • Introduces a shared RID list with platform and official-build metadata.
  • Replaces separate runtime and ILCompiler lists with shared imports.
  • Adds the shared file to ILAsm pipeline triggers.
File Description
src/​installer/​pkg/​projects/​netcoreappRIDs.props Removes the separate runtime RID list.
src/​installer/​pkg/​projects/​Microsoft.DotNet.ILCompiler/​ILCompilerRIDs.props Removes the ILCompiler-specific RID list.
src/​installer/​pkg/​projects/​Microsoft.DotNet.ILCompiler/​Directory.Build.props Removes the ILCompiler RID-list override.
src/​installer/​pkg/​projects/​Directory.Build.props Uses shared RIDs for packaging and restore selection.
src/​coreclr/​.nuget/​package-rids.props Uses shared RIDs for CoreCLR tool packages.
eng/​pipelines/​coreclr/​ilasm.yml Triggers validation when the shared list changes.
eng/​PackageRids.props Defines shared RIDs, metadata, and current-build additions.

Review effort: Balanced

Comment thread src/coreclr/.nuget/package-rids.props Resolved
@am11

am11 commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

@jkotas Copilot was off on the bionic RID comments. Those gaps were from ports adding RIDs as needed, not an intentional omit, so the shared list stays as-is.

@jkotas jkotas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but I’m not that familiar with the official builds. I will leave it to @jkoritzinsky to signoff and merge.

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants