Skip to content

Runtime Id does not follow generic naming convention in published arm64 releases #2644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
toolboc opened this issue Nov 4, 2018 · 1 comment
Milestone

Comments

@toolboc
Copy link

toolboc commented Nov 4, 2018

I am working on adding support for linux-arm64 to the azure-pipelines-agent.

I noticed that the current arm32 release of the dotnet core SDK @ https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.403/dotnet-sdk-2.1.403-linux-arm.tar.gz uses a generic name "linux-arm"
for the Runtime Id:
image

However, the current arm64 release of the dotnet core SDK @ https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.403/dotnet-sdk-2.1.403-linux-arm64.tar.gz uses a platform specific name "ubuntu.18.04-arm64" instead of an expected generic name of "linux-arm64" for the Runtime Id:
image

Is this expected, or should both releases report a generic name for the Runtime Id?

@toolboc toolboc changed the title Runtime id does not follow convention in published arm64 releases Runtime id does not follow generic naming convention in published arm64 releases Nov 4, 2018
@toolboc toolboc changed the title Runtime id does not follow generic naming convention in published arm64 releases Runtime Id does not follow generic naming convention in published arm64 releases Nov 4, 2018
@livarcocc livarcocc added this to the Discussion milestone Nov 5, 2018
@peterhuene
Copy link
Contributor

peterhuene commented Nov 8, 2018

Hi @toolboc,

Thanks for reporting this.

dotnet --info uses two sources of information to show the RID:

  • If the current platform RID is supported by the shared framework RID graph (contained in Microsoft.NETCore.App.deps.json), then it will display it. For Ubuntu 18.04 (ARM64), the RID is in the graph so this is what is displayed.
  • However, Raspbian isn't a supported RID in the graph, so dotnet --info falls back to the .version file in the .NET Core SDK's directory. This contains the more generic linux-arm, which is what is being displayed instead.

As such, I'm closing this by design from the CLI. If we want to support Raspbian in the RID graph, that would be a dotnet/corefx issue as they own the RID graph.

wli3 pushed a commit that referenced this issue Feb 7, 2020
…905.21 (#2644)

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19455.21
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

No branches or pull requests

3 participants