How to Delete Visual Studio on Mac

There are a variety of Xamarin products that permit cross-platform software development, including stand-alone programs like Visual Studio room for Mac.

This guide may be used to uninstall each product independently by navigating to the relevant section. The complete Xamarin toolset can be uninstalled by third , guide completely.

When you have previously acquired Xamarin Studio room installed on your machine, you may even need to check out the instructions in the uninstall guide on builder.xamarin.com, as well as the following steps.
Uninstall Script

You may uninstall Visual Studio and its own associated components at once utilizing the uninstall script.

This uninstall script has almost all of the commands that might be in this article. You will discover two main omissions from the script and aren’t included scheduled to possible exterior dependencies:

  • Uninstalling Mono
  • Uninstalling Android os AVD

To perform the script, do the next steps:

  • Right-click on the script and choose Save As… to save lots of the document on your Macintosh.
  • Start Terminal and change the working website directory to where in fact the script was downloaded:
    bash

$ compact disk /location/of/file

  • Make the script executable and the run it with sudo:
    bash

$ chmod +x ./uninstall-vsmac.sh
$ sudo ./uninstall-vsmac.sh

  • Finally, erase the uninstall script.

Uninstall Visual Studio App for Mac

The first rung on the ladder in uninstalling Aesthetic Studio from a Macintosh is to find Visual Studio.app in the /Applications website directory and pull it to the Garbage Can. Otherwise, right-click and choose Move to Garbage as illustrated in the next image:

Move Visual Studio Request to trash

Deleting this iphone app bundle removes Aesthetic Studio for Macintosh personal computer, even though there could be other files associated with Xamarin still on the file system.

To eliminate all traces of Aesthetic Studio for Apple pc, the following instructions should be run in Terminal:
bash

sudo rm -rf “/Applications/Visual Studio.app”
rm -rf ~/Library/Caches/VisualStudio
rm -rf ~/Library/Tastes/VisualStudio
rm -rf ~/Catalogue/Preferences/Visual\ Studio
rm -rf ~/Library/Logs/VisualStudio
rm -rf ~/Library/VisualStudio
rm -rf ~/Library/Personal preferences/Xamarin/
rm -rf ~/Library/Creator/Xamarin
rm -rf ~/Catalogue/Application\ Support/VisualStudio
rm -rf ~/Library/Program\ Support/VisualStudio/7.0/LocalInstall/Addins/

Uninstall Mono SDK (MDK)

Mono can be an open-source execution of Microsoft’s .NET Construction and can be used by all Xamarin Products–Xamarin.iOS, Xamarin.Android os, and Xamarin.Apple pc to permit development of the websites in C#.

Warning

A couple of other applications beyond Visual Studio for Macintosh personal computer that also use Mono, such as Unity. Make sure that there are no other dependencies on Mono before uninstalling it.

To eliminate the Mono Construction from a machine, run the next orders in Terminal:
bash

sudo rm -rf /Collection/Frameworks/Mono.framework
sudo pkgutil –forget com.xamarin.mono-MDK.pkg
sudo rm -rf /etc/pathways.d/mono-commands

Uninstall Xamarin.Android

There are a variety of items necessary for the assembly and use of Xamarin.Android os, like the Android os SDK and Java SDK.

Use the next commands to eliminate Xamarin.Android os:
bash

sudo rm -rf /Builder/MonoDroid
rm -rf ~/Library/MonoAndroid
sudo pkgutil –forget com.xamarin.android os.pkg
sudo rm -rf /Catalogue/Frameworks/Xamarin.Google android.framework

Uninstall Google android SDK and Java SDK

The Android os SDK is necessary for development of Google android applications. To totally remove all elements of the Android os SDK, track down the record at ~/Collection/Developer/Xamarin/ and move it to Garbage.

The Java SDK (JDK) doesn’t need to be uninstalled, as it has already been pre-packaged within Mac Operating-system X / macOS.

Post A Reply