-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Running dotnet ef global tool in .NET 6 on Mac with M1 raises: Failed to load /usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.20/libhostpolicy.dylib #26650
Labels
Comments
If I use
Visual Studio for Mac Details
|
@maveonair This could be an issue with paths. Make sure that the native SDK is found before others. |
@maveonair See #27787 |
@ajcvickers Thanks a lot and I got it working with the following workaround from dotnet/sdk#22380 ~ % export DOTNET_ROLL_FORWARD=LatestMajor
~ % dotnet ef --version
Entity Framework Core .NET Command-line Tools
6.0.0 Therefore I close this issue because it is not a EF tool problem alone. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I installed the latest .NET 6 Apple Silicon version on my Mac which works great to run my .NET projects but I cannot get the global EF Core tool working:
EF Core version: 6
Target framework: .NET 6 (6.0.100)
Operating system: macOS 12.0.1
The text was updated successfully, but these errors were encountered: