Correct way to uninstall dotnet core that was installed by rider (Mac)?

Where and how do I uninstall the dotnet Core SDK that was installed by rider? It does show up under pkgutil? 

1
4 comments

Hello Roman,

Thank you for contacting us.
By default, .NET Core installs to `/Library/Frameworks/`. You can remove it by using the Uninstall tool for mac (https://docs.microsoft.com/en-us/dotnet/core/additional-tools/uninstall-tool?tabs=macos). Please, vote for https://youtrack.jetbrains.com/issue/RIDER-38973 and https://youtrack.jetbrains.com/issue/RIDER-31689 to make this process easier

-2

This doesn’t seem to be the case when you allow rider to install the sdk. After digging around, it installs into a .dotnet directory under the user. It also doesn’t show in pkgutility. Is it ok to simply delete this directory?

3
Avatar
Permanently deleted user

After I ran "brew cask install dotnet-sdk", Rider use /usr/local/share/dotnet instead of its /Users/x/.dotnet and now there is no option to uninstall the .dotnet installation.

0

Roman, 

On Mac, you must remove the SDKs and runtimes separately, by removing the versioned directories. Removing them deletes the SDK and runtime from disk. So yes, just remove the directory. 

 

Michaelbrito, as far as I understand, you installed dotnet sdk using Homebrew. Can you uninstall it also by using Homebrew? Also, the Uninstall tool for Mac could be useful. Please, let me know how it works for you. 

-3

Please sign in to leave a comment.