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
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, andaspnetcoredepends on runtime packs based on the RID it is expecting to use. As a result, it fails to findMicrosoft.NETCore.App.Runtime.osx.12-x64andMicrosoft.NETCore.App.Crossgen2.osx.12-x64packages.We should either remove the overrides from runtime.proj, or duplicate the overrides into aspnetcore.proj