`dotnet tool install -a arm64` fails
See original GitHub issueSame thing as #21393 (but different command).
rich@MacBook-Air-M1-2020 app4321 % dotnet --info | grep RID
RID: osx-x64
rich@MacBook-Air-M1-2020 app4321 % dotnet tool install -g app4321 --add-source bin/Debug -a arm64
System.AggregateException: One or more errors occurred. (Resolving the current runtime identifier failed.)
---> Microsoft.DotNet.Cli.Utils.GracefulException: Resolving the current runtime identifier failed.
at Microsoft.DotNet.Cli.CommonOptions.GetCurrentRuntimeId()
at Microsoft.DotNet.Cli.CommonOptions.ResolveRidShorthandOptionsToRuntimeIdentifier(String os, String arch)
at Microsoft.DotNet.ShellShim.ShellShimTemplateFinder.ResolveAppHostSourceDirectoryAsync(String archOption, String targetFramework)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Microsoft.DotNet.Tools.Tool.Install.ToolInstallGlobalOrToolPathCommand.Execute()
at Microsoft.DotNet.Tools.Tool.Install.ToolInstallCommand.Execute()
at Microsoft.DotNet.Cli.DotNetTopLevelCommandBase.RunCommand(String[] args)
at Microsoft.DotNet.Tools.Tool.ToolCommand.Run(String[] args)
at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)
at Microsoft.DotNet.Cli.Program.Main(String[] args)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
dotnet tool install -a arm64 fails on linux-arm64 #29074
Describe the bug dotnet tool install --global --arch arm64 fails reporting that the RID linux-arm64 is invalid. To Reproduce Create Amazon ...
Read more >dotnet ef command showing below error in mac
dotnet -ef is the package name. The command is dotnet ef with a space. You don't mention that you have installed the EF...
Read more >Install .NET on macOS
In this article, you'll learn how to install .NET on macOS. .NET is made up of the runtime and the SDK. The runtime...
Read more >X Tool on Apple ARM MACs - ServiceStack
I experience a strange problem with the X tool on dotnet 6 on Macs with an Apple Silicon M1 / M2 processor. This...
Read more >Cannot debug net6.0-macos Apps - Developer Community
When I hit debug, the following error is shown in the Terminal: Possible reasons for this include: * You misspelled a built-in dotnet...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just validated this fix in
6.0.100-rc.2.21478.25
. Thanks!