Skip to content

Conversation

@kotlarmilos
Copy link
Member

Description

This PR adds Apple mobile rids to the NetCoreRuntimePackRids to support targeting CoreCLR.

@kotlarmilos kotlarmilos requested review from akoeplinger, Copilot and rolfbjarne and removed request for Copilot October 23, 2025 10:04
@kotlarmilos kotlarmilos self-assigned this Oct 23, 2025
@kotlarmilos kotlarmilos changed the title Support targeting Apple mobile platforms with CoreCLR [clr-ios] Support targeting Apple mobile platforms with CoreCLR Oct 23, 2025
Copy link
Member

@akoeplinger akoeplinger left a comment

Choose a reason for hiding this comment

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

LGTM apart from my comments

Copilot AI review requested due to automatic review settings October 27, 2025 10:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for targeting Apple mobile platforms (iOS, tvOS, and Mac Catalyst) with CoreCLR by introducing new runtime identifiers (RIDs) for .NET 11.0.

Key Changes:

  • Introduces Net110RuntimePackRids containing Apple mobile platform RIDs (ios-arm64, iossimulator-arm64/x64, tvos-arm64, tvossimulator-arm64/x64, maccatalyst-arm64/x64)
  • Updates NetCoreRuntimePackRids to reference the new .NET 11.0 RID collection
  • Maintains backward compatibility by keeping .NET 10.0 RIDs for KnownFrameworkReference targeting pack references

@MichaelSimons
Copy link
Member

MichaelSimons commented Nov 11, 2025

This change regressed source build when it flowed into the VMR. Can someone explain this particular change? This causes this special SB logic to be skipped.

@rolfbjarne
Copy link
Member

This change regressed source build when it flowed into the VMR. Can someone explain this particular change? This causes this special SB logic to be skipped.

That's how it's done in the .NET 9 case:

RuntimePackRuntimeIdentifiers="@(Net90RuntimePackRids, '%3B')"

@kotlarmilos
Copy link
Member Author

kotlarmilos commented Nov 12, 2025

This PR introduced Net110RuntimePackRids with new RIDs and updated NetCoreRuntimePackRids to reference Net110RuntimePackRids. Because of that, we had to update .NET 10 Microsoft.NETCore.App to reference Net100RuntimePackRids instead. This change should not affect the functionality of .NET 10. What regression did you experience?

@akoeplinger
Copy link
Member

@MichaelSimons the change is correct, but it's possibly causing some weirdness because we're still in this 11.0-but-actually-10.0-version state. we should take a closer look at what error it's causing in SB

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