Closed Drenalol closed 2 years ago
I see you have installed .net 6 on your system... Was this also an issue before your upgrade to .net 6? (back when you were using .net 5)
I can't say because I didn't use the plugin on .net5.
I have a Mac on M1, and that's it.net6 supports it natively, but I tried to change the Toolset in Rider to .net5, and after restarting I get the same error, maybe the fact is that my X64 version is in a subfolder (/usr/local/share/dotnet/x64)
Ahh, that might be possible. Try three things for me please.
dotnet --info
using each of those executables.dotnet ef
on the solution folder.Please send me the results of these and I'll attempt a fix. Thanks 🙏
No problem.
1.
where dotnet
/usr/local/share/dotnet/dotnet (arm64 .NET6 only)
/usr/local/share/dotnet/x64/dotnet (x64 .NET5 only)
2.
/usr/local/share/dotnet/dotnet --info
.NET SDK (reflecting any global.json):
Version: 6.0.100
Commit: 9e8b04bbff
Runtime Environment:
OS Name: Mac OS X
OS Version: 12.0
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/6.0.100/
Host (useful for support):
Version: 6.0.0
Commit: 4822e3c3aa
.NET SDKs installed:
6.0.100 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
/usr/local/share/dotnet/x64/dotnet --info
.NET SDK (reflecting any global.json):
Version: 5.0.401
Commit: 17a9cb47cf
Runtime Environment:
OS Name: Mac OS X
OS Version: 11.0
OS Platform: Darwin
RID: osx-x64
Base Path: /usr/local/share/dotnet/x64/sdk/5.0.401/
Host (useful for support):
Version: 5.0.9
Commit: 208e377a53
.NET SDKs installed:
5.0.401 [/usr/local/share/dotnet/x64/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.9 [/usr/local/share/dotnet/x64/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.9 [/usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
3.
dotnet ef (in solution folder)
_/\__
---==/ \\
___ ___ |. \|\
| __|| __| | ) \\\
| _| | _| \_/ | //|\\
|___||_| / \\\/\\
Entity Framework Core .NET Command-line Tools 6.0.0
Usage: dotnet ef [options] [command]
Options:
--version Show version information
-h|--help Show help information
-v|--verbose Show verbose output.
--no-color Don't colorize output.
--prefix-output Prefix output with level.
Commands:
database Commands to manage the database.
dbcontext Commands to manage DbContext types.
migrations Commands to manage migrations.
Use "dotnet ef [command] --help" for more information about a command.
/usr/local/share/dotnet/x64/dotnet ef (in solution folder)
_/\__
---==/ \\
___ ___ |. \|\
| __|| __| | ) \\\
| _| | _| \_/ | //|\\
|___||_| / \\\/\\
Entity Framework Core .NET Command-line Tools 6.0.0
Usage: dotnet ef [options] [command]
Options:
--version Show version information
-h|--help Show help information
-v|--verbose Show verbose output.
--no-color Don't colorize output.
--prefix-output Prefix output with level.
Commands:
database Commands to manage the database.
dbcontext Commands to manage DbContext types.
migrations Commands to manage migrations.
Use "dotnet ef [command] --help" for more information about a command.
maybe this helps (MSDN about this, in 16 point)
cat /etc/dotnet/install_location
/usr/local/share/dotnet/x64
Thank you very much, getting on it right now
Thank you very much, getting on it right now
Any chances to updates?
@minasploit also struggling with this exact issue - I only have one executable but aside from that I've got the exact same conditions as OP.
https://plugins.jetbrains.com/plugin/18147-entity-framework-core-ui this plugin work on Mac M1
Hey! I'm installed plugin, and seems doesn’t worked.
After restart Rider gets exception in logs:
23:47 Installation failed: Couldn't install Entity Framework Core .NET Command-line Tool. Please install it manually and restart the IDE.
Looks there success is false, but i have already dotnet ef.
Rider version