Skip to content

Include current RID for ASP.NET Core bundled tools - #6797

Merged
DamianEdwards merged 2 commits into
mainfrom
damianedwards/include-current-rid
May 24, 2026
Merged

DamianEdwards merged 2 commits into
mainfrom
damianedwards/include-current-rid

Conversation

@DamianEdwards

@DamianEdwards DamianEdwards commented May 23, 2026 •

Copy link
Copy Markdown
Member

Addresses feedback from #6720 (review).

This appends the current product RID (ProductMonikerRid, derived from TargetRid) to the ASP.NET Core RID-specific bundled tool package list only when it is not already present. This lets community platform builds select their matching native AOT tool packages while preserving the existing official SDK RID list without duplicates.

@am11 @baronfel

Add the current product RID to the ASP.NET Core RID-specific bundled tool package list when it is not already present. This lets community platform builds select the matching RID-specific native AOT tool packages without changing the official SDK RID list.

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings May 23, 2026 16:17
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team May 23, 2026 16:17

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.

Pull request overview

Updates SDK layout logic so ASP.NET Core RID-specific bundled tool packages can include the current product RID when building on community/non-official platforms, without introducing duplicates into the existing official RID list.

Changes:

  • Adds a delimiter-wrapped helper property for the ASP.NET Core tool RID list.
  • Conditionally appends $(ProductMonikerRid) to AspNetCoreRidSpecificToolPackageRids only if it’s non-empty and not already present.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Use leading and trailing semicolons on the ASP.NET Core bundled tool RID list so the containment check can operate directly on the list while still avoiding duplicate current RIDs.

Co-authored-by: Copilot <[email protected]>
@DamianEdwards

Copy link
Copy Markdown
Member Author

ping @lewing @akoeplinger for review

@DamianEdwards
DamianEdwards merged commit 76e6fea into main May 24, 2026
11 checks passed
@DamianEdwards
DamianEdwards deleted the damianedwards/include-current-rid branch May 24, 2026 17:57
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.

4 participants