.Net Core PATH - OSX
Hi,
I installed .Net Core using the Environment in Rider on my Mac.
Thing is, i don't know where the sdk was installed on my machine.
I checked on /usr/local/share/ where it is supposed to be --> it's not there.
I checked on /Library/Frameworks --> not there (only have Mono.framework).
I can not use the dotnet command in shell.
Any help would be appreciated.
Please sign in to leave a comment.
Hello Adrien,
Rider doesn't add dotnet to PATH, that is why you can not use the dotnet command in shell. The sdk must be installed to user root ~/.dotnet.
Hello Julia,
I have installed the dotnet sdk at /usr/local/share/dotnet. [that's the default destination from microsoft installer and homebrew].
I can run the dotnet commands in the shell.
However, every time i make a dotnet run with a try catch block, the code compile then i have a popup saying : "dotnet quit unexpectedly."
Any idea where this error could come from ?
Adrien Ideler,
Sorry for the delay. My first guess is that you're on Macbook M1. .NET runtime is known to perform badly on it, see https://github.com/dotnet/runtime/issues/43313.
If that's not the case, please take a look at the problem details of the dotnet crash. What does it say?