You can use this guide to uninstall each component in Visual Studio for Mac individually by navigating to the relevant section, or you can use the scripts provided in the Uninstall Script section to uninstall everything.
Note
Visual Studio For Mac Extension
This information will only remove Visual Studio 2019 or 2017 for Mac from your machine. to uninstall Visual Studio Code, see this issue for details.
Uninstall Script
There are two scripts that can be used to uninstall Visual Studio for Mac and all components for your machine:
The following sections provide information on downloading and using the scripts.
For instructions on installing and updating Visual Studio 2019 for Mac, see the Install Visual Studio for Mac guide. To learn more about other related downloads, see the Downloads page. What's New in Visual Studio 2019 for Mac Visual Studio 2019 for Mac Releases. September 21, 2020 - Visual Studio 2019 for Mac version 8.7.8. With the power of Roslyn, Visual Studio for Mac brings IntelliSense to your fingertips. IntelliSense describes APIs as you type and uses auto-completion to increase the speed and accuracy of how you write code. Quick Info tool tips let you inspect API definitions. Squiggly lines in the editor highlight issues in real time as you type.
Visual Studio for Mac and Xamarin script
You can uninstall Visual Studio and Xamarin components in one go by using the uninstall script.
This uninstall script contains most of the commands that you will find in the article. There are three main omissions from the script and are not included due to possible external dependencies. To remove this, jump to the relevant section below and remove them manually:
To run the script, do the following steps:
Right-click on the script and select Save As to save the file on your Mac.
Open Terminal and change the working directory to where the script was downloaded:
Make the script executable and the run it with sudo:
Finally, delete the uninstall script and remove Visual Studio for Mac from the dock (if it's there).
.NET Core script
The uninstall script for .NET Core is located in the dotnet cli repo
To run the script, do the following steps:
Right-click on the script and select Save As to save the file on your Mac.
Open Terminal and change the working directory to where the script was downloaded:
Make the script executable and the run it with sudo:
Finally, delete the .NET Core uninstall script.
Uninstall Visual Studio for Mac
The first step in uninstalling Visual Studio from a Mac is to locate Visual Studio.app in the /Applications directory and drag it to the Trash Can. Alternatively, right-click and select Move to Trash as illustrated in the following image:
Deleting this app bundle removes Visual Studio for Mac, even though there may be other files related to Xamarin still on the file system.
To remove all traces of Visual Studio for Mac, run the following commands in Terminal:
You may also want to remove the following directory containing various Xamarin files and folders. However, before you do you should be aware that this directory contains the Android signing keys. For more information refer to the section Uninstalling Android SDK and Java SDK:
Uninstall Mono SDK (MDK)
Mono is an open-source implementation of Microsoft's .NET Framework and is used by all Xamarin Products—Xamarin.iOS, Xamarin.Android, and Xamarin.Mac to allow development of these platforms in C#.
Warning
Microsoft Visual Studio 2010 For Mac Os X
There are other applications outside of Visual Studio for Mac that also use Mono, such as Unity.Be sure that there are no other dependencies on Mono before uninstalling it.
To remove the Mono Framework from a machine, run the following commands in Terminal:
Microsoft Visual Studio 2010 For Mac Free Download
Uninstall Xamarin.Android
There are a number of items required for the installation and use of Xamarin.Android, such as the Android SDK and Java SDK.
Use the following commands to remove Xamarin.Android:
Uninstall Android SDK and Java SDK
The Android SDK is required for development of Android applications. To completely remove all parts of the Android SDK, locate the file at ~/Library/Developer/Xamarin/ and move it to Trash.
Warning
You should be aware that Android signing keys that are generated by Visual Studio for Mac are located in ~/Library/Developer/Xamarin/Keystore
. Make sure to back these up appropriately, or avoid removing this directory if you wish to keep your keystore.
Visual Studio 2010 For Macbook
The Java SDK (JDK) does not need to be uninstalled, as it is already pre-packaged as part of Mac OS X / macOS.
Uninstall Android AVD
Warning
Free Download Visual Studio 2010 For Mac
There are other applications outside of Visual Studio for Mac that also use Android AVD and these additional android components, such as Android Studio.Removing this directory may cause projects to break in Android Studio.
To remove any Android AVDs and additional Android components use the following command:
To remove only the Android AVDs use the following command:
Uninstall Xamarin.iOS
Xamarin.iOS allows iOS application development using C# or F# with Visual Studio for Mac.
Use the following commands in Terminal to remove all Xamarin.iOS files from a file system:
Uninstall Xamarin.Mac
Xamarin.Mac can be removed from your machine using the following two commands to eradicate the product and license from your Mac respectively:
Uninstall Workbooks and Inspector
Starting with 1.2.2, Xamarin Workbooks & Inspector can be uninstalled from a terminal by running:
For older versions, you need to manually remove the following artifacts:
- Delete the Workbooks app at
'/Applications/Xamarin Workbooks.app'
- Delete the Inspector app at
'Applications/Xamarin Inspector.app'
- Delete the add-ins:
'~/Library/Application Support/XamarinStudio-6.0/LocalInstall/Addins/Xamarin.Interactive'
and'~/Library/Application Support/XamarinStudio-6.0/LocalInstall/Addins/Xamarin.Inspector'
- Delete Inspector and supporting files here:
/Library/Frameworks/Xamarin.Interactive.framework
and/Library/Frameworks/Xamarin.Inspector.framework
Uninstall the Xamarin Profiler
Uninstall the Visual Studio Installer
Use the following commands to remove all traces of the Xamarin Universal Installer:
Uninstall Visual Studio 2019 for Mac Preview
Visual Studio 2019 for Mac Preview was launched as a separate preview, allowing you to continue to work with your Visual Studio 2017 for Mac install side-by-side.
Now that Visual Studio 2019 for Mac has been released, you can now safely remove the Visual Studio 2019 for Mac Preview application.
To uninstall the preview application bundle, select Visual Studio (Preview) from your Applications folder and click Move to Trash, as depicted in the following image:
You can also remove the Preview plist file with the following command:
See also
Finally there is some Mac related Visual Studio new worth blogging about, or so I thought. Earlier this week I was reading through the Software Developer Times Newspaper, when I came across the following article by 'I.B. Phoolen' regarding Micrsosoft Visual Studio 2010 for mac OS X.Visual Studio 2010 For Mac Free Download
Declaring a “bright new day for our friends in Macintosh-Land,” Microsoft CEO Steve Ballmer today unveiled Visual Studio 2010 for Mac OSX, expected to be available this summer. Speaking to a full crowd at the Medenbauer Center, Ballmer reminded the audience that Microsoft is one of the oldest and most competitive ISVs for Apple’s Macintosh platform. The company’s Excel spreadsheet software first appeared for Mac in 1985, he bellowed, two full years before Microsoft released a Windows version.
“We never stopped loving the Mac,” he shouted, waving an iPhone. “Every day, our Windows 7 dev team is inspired by the great work being done by visionaries in Cupertino.” Standing in front of a giant poster of an Apple iPad tablet computer, Ballmer screamed, “now it’s time to give something back!”
The centerpiece of Visual Studio for Mac OS X is its native implementation of Apple’s preferred object-oriented programming language, Objective-C, which is used by both Mac OS X and iPhone/iPad developers. According to Ballmer, the new Visual objective-C IDE will also appear in Visual Studio 2010 SP1 for Windows. Applications written in the Smalltalk-inspired language will require only a simple recompile to run on both Mac and Windows 7, he said.
Playing to the cheering developers at the software launch, Ballmer then showed Visual Basic for Mac OS X, another component of the Visual Studio for Mac OS X suite. “You asked for it, you got it!” he shrieked, before being buried by a hailed of rose petals and hotel keys tossed by ISVs and industry analysts. Ballmer said that the Visual Studio for Mac OS X suite (expected to ship by Apple’s Worldwide Developer Conference in San Francisco, June 8-12) is expected to woo developers from Apple’s Xcode. “I know you love your Xcode,” he roared, “but I promise you’ll love your Visual Studio for Mac even more!”
On-stage demos at the event included Macintosh integration with Visual Studio Team System; using Visual Basic with Apple’s iPhone SDK to build a voice recognition application for iPhone and iPad; and porting BioShock 2 from Windows to Mac OS X 10.6 “Snow Leopard.” Baller apologized for the tool chain’s lack of support for versions of Mac OS X prior to 10.5 “Leopard,” saying, “We’re only human, okay?”
As he was leaving the stage, Ballmer turned back. “Oh, just one more thing, “ he cried – and then showed off the company’s full .NET Framework 4.0 for Mac OS X, available for free download from the Microsoft website. “We love you, Apple!” he whooped, bringing the event to a triumphant close.
http://www.digioz.com/