Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jkoritzinsky
Copy link
Member

@jkoritzinsky jkoritzinsky commented Aug 26, 2025

Try using the non-portable cg2/ilc when targeting any non-portable RID, not just the non-portable RID matching the SDK RID.

Fixes dotnet/source-build#5225

…D, not just the non-portable RID matching the SDK RID.
@jkoritzinsky jkoritzinsky marked this pull request as ready for review August 26, 2025 23:44
@jkoritzinsky
Copy link
Member Author

Validated the new experience:

  1. Building a SB SDK for the same RID as the bootstrapping SB SDK will use the "live" crossgen2 as it does today.
  2. Building a SB SDK for a different RID as the bootstrapping SB SDK will try to use the portable crossgen2 when CG2 is not bundled with the bootstrapping SDK (and as such won't work offline only).
  3. When CG2 is bundled in the bootstrapping SB SDK, it will be used when building the new SB SDK for the new non-portable RID (matching the rules in the linked issue).

@jkoritzinsky jkoritzinsky requested a review from a team August 26, 2025 23:48
@jkoritzinsky
Copy link
Member Author

cc: @tmds please review and validate

@jkoritzinsky
Copy link
Member Author

/backport to main

@jkoritzinsky jkoritzinsky merged commit a565415 into dotnet:release/10.0.1xx Aug 28, 2025
10 checks passed
@github-actions
Copy link
Contributor

Started backporting to main: https://github.com/dotnet/dotnet/actions/runs/17305105348

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.

3 participants