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

Mac M1 issue with build #5957

Open
qasimalyas opened this issue Feb 7, 2022 · 0 comments
Open

Mac M1 issue with build #5957

qasimalyas opened this issue Feb 7, 2022 · 0 comments

Comments

@qasimalyas
Copy link

The documentation states that we need version 5 of dotnet https://docs.microsoft.com/en-gb/learn/modules/create-a-build-pipeline/1-introduction but the mac m1 doesn't support this version. M1 support is added from dotnet 6.

While trying to run and build the app running this command dotnet run --configuration Release --no-build --project Tailspin.SpaceGame.Web fails.

A fatal error occurred. The required library libhostfxr.dylib could not be found.
If this is a self-contained application, that library should exist in [/Users/username/Projects/mslearn-tailspin-spacegame-web/Tailspin.SpaceGame.Web/bin/Release/net5.0/].
If this is a framework-dependent application, install the runtime in the global location [/usr/local/share/dotnet/x64] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet/install_location].

The .NET runtime can be found at:
  - https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=osx.11.1-x64&apphost_version=5.0.13

Does the demo application need to updated with the latest dotnet version?

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