Skip to content

[VMR] Inconsistent use of RID overrides breaks aspnetcore build on Windows & Mac #3151

@directhex

Description

@directhex

The RID is detected on my MacBook as osx.12-x64.

This is overridden for the runtime build to use the portable RID instead:

https://github.com/dotnet/dotnet/blob/30dee3367a1a363767b5de1b672c1493f14d4f02/repos/runtime.proj#L10-L13

However, we do not override this for aspnetcore, and aspnetcore depends on runtime packs based on the RID it is expecting to use. As a result, it fails to find Microsoft.NETCore.App.Runtime.osx.12-x64 and Microsoft.NETCore.App.Crossgen2.osx.12-x64 packages.

We should either remove the overrides from runtime.proj, or duplicate the overrides into aspnetcore.proj

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-buildImprovements in source-build's own build process

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions