Skip to content
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

Unable to install as global tool on osx-arm64 architecture. #117

Open
NatElkins opened this issue Aug 21, 2022 · 0 comments
Open

Unable to install as global tool on osx-arm64 architecture. #117

NatElkins opened this issue Aug 21, 2022 · 0 comments

Comments

@NatElkins
Copy link
Contributor

Describe the bug
Wanted to play with F# and Fornax, haven't touched it in a few years. I installed the .NET SDK via brew, and then installed Fornax as a global tool. Tried it run it, but it complains about not being able to find the .NET location.

To Reproduce

  1. Install dotnet-sdk cask via brew on M1 Mac.
  2. dotnet tool install fornax -g.
  3. fornax

Expected behaviour
Fornax gets invoked properly.

Screenshots
The following is produced:

You must install .NET to run this application.

App: /Users/nat/.dotnet/tools/fornax
Architecture: x64
App host version: 6.0.8
.NET location: Not found

Learn about runtime installation:
https://aka.ms/dotnet/app-launch-failed

Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=osx.12-x64&apphost_version=6.0.8

Environment (please complete the following information):

➜  fornax_test dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.400
 Commit:    7771abd614

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  12.5
 OS Platform: Darwin
 RID:         osx.12-arm64
 Base Path:   /usr/local/share/dotnet/sdk/6.0.400/

global.json file:
  Not found

Host:
  Version:      6.0.8
  Architecture: arm64
  Commit:       55fb7ef977

.NET SDKs installed:
  6.0.400 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Download .NET:
  https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs:
  https://aka.ms/dotnet/runtimes-sdk-info

Additional context
From the F# Slack:
image
dotnet/sdk#26417

image

Sounds like we might be able to get around it by targeting .NET 6.

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

1 participant