I recently installed Visual Studio For Mac. I didn't liked the IDE and UI so I removed it, according to steps suggested by various stack exchange community posts.

Today when I used Omni Disk Sweeper to sweep my Main Disk, I came across the files shown in the screenshot. Visual studio was the only application I have ever downloaded from Microsoft. Can these files be related to Visual Studio?

If they are VS-related, how can I remove them (and other traces of Visual Studio)?

enter image description here


1 Answer 1


To remove, open Terminal and run

sudo rm -r /usr/local/share/dotnet
  • I was thinking of removing it but it also contains files which don't seem to be connected to visual I have already screwed my mac once I don't want to screw it again I also ran this script but nothing got removed [link] pastebin.com/89PNW1Ah
    – Sayan
    Sep 29, 2017 at 15:27
  • @Sayan The Pastbin script doesn‘t touch the dotnet directory at all
    – nohillside
    Sep 29, 2017 at 17:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .