A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://stackoverflow.com/questions/41112054/where-is-the-default-net-core-sdk-path-in-macos below:

Where is the default .NET Core SDK path in MacOS

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?

asked Dec 13, 2016 at 0:50

Try this path: /usr/local/share/dotnet/dotnet

It took some time to find it:

find / -name dotnet

answered Dec 13, 2016 at 13:39

Ivan ShakhovIvan Shakhov

1,4431212 silver badges1313 bronze badges

1

For me it was:

/System/Volumes/Data/Users/$USER/.dotnet

Also, tips, if you run find / -name dotnet do it like:

find / -name dotnet 2>/dev/null

That way you don't get any permissions errors just real hits.

answered Jul 3, 2020 at 18:00

netdiggernetdigger

3,79933 gold badges2929 silver badges5151 bronze badges

If you run this in your terminal, it will list the installed SDK's and their locations. I believe it works in windows as well

dotnet --list-sdks

answered Aug 7, 2020 at 12:16

Atif RehmanAtif Rehman

46577 silver badges66 bronze badges

2

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4