Skip to content

Managed and Native RID discovery can resolve different RIDs #33069

@jkoritzinsky

Description

@jkoritzinsky

We currently have two methods of resolving the current build's RID. For native components, we use the init_distro_rid.sh script in eng/native. This script supports discovering RIDs for not-officially-supported distros as well as discovering rids for cross-compilation.

The managed RID discovery mechanism only supports discovering the host RID and then overriding it with a specific RID manually. @am11 reported that was causing him issues when building for android, where the native components built correctly for android.28-arm64 but the managed components were looking for linux-arm64.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions