I've recently installed the .NET Core SDK for MacOS in order to create a demo application using the new JetBrains Rider EAP.
Project 'WebApi' load failed
Can't initialize DotNetCore: Please select DotNet Core SDK path.
To get instructions how to setup visit https://www.microsoft.com/net/download/core
After the installation I tried to find the path to the DotNet Core SDK without success.
Any idea about the location of the .NET Core SDK?
You can see all the installed SDKs under "C:\Program Files\dotnet\sdk". First, we are going to see how we can view our current SDK version on the machine. By default, it will be the latest installed version (the SDK you installed at last).
You can see both the SDK versions and runtime versions with the command dotnet --info .
On macOS, the tool can only uninstall SDKs and runtimes located in the /usr/local/share/dotnet folder. Because of these limitations, the tool may not be able to uninstall all of the . NET SDKs and runtimes on your machine. You can use the dotnet --info command to find all of the .
Try this path: /usr/local/share/dotnet/dotnet
It took some time to find it:
find / -name dotnet
If you run this in your terminl, it will list the installed SDK's and their locations. I believe it works in windows as well
dotnet --list-sdks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With