You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a number of Xamarin products that enable cross-platform application development,
14
14
including stand-alone apps like Visual Studio for Mac.
15
15
16
-
This guide can be used to uninstall each product individually by navigating to the relevant section. The entire Xamarin toolset can be uninstalled by following this guide all the way through.
16
+
You can use this guide to uninstall each product individually by navigating to the relevant section, or use the scripts provided in the [Uninstall Script](#uninstall-script) section to uninstall everything.
17
17
18
-
If you have previously had Xamarin Studio installed on your machine, you may also need to follow the instructions in the [uninstall](https://developer.xamarin.com/guides/cross-platform/getting_started/installation/uninstalling_xamarin/) guide on developer.xamarin.com, in addition to the following steps.
18
+
If you have previously had Xamarin Studio installed on your machine, you may also need to follow the instructions in [Xamarin's uninstall](https://docs.microsoft.com/xamarin/cross-platform/get-started/installation/uninstalling-xamarin#uninstall-xamarin-studio-on-mac) guide, in addition to the following steps.
19
19
20
20
## Uninstall Script
21
21
22
-
You can uninstall Visual Studio and its associated components in one go by using the [uninstall script](https://raw.githubusercontent.com/MicrosoftDocs/visualstudio-docs/master/mac/resources/uninstall-vsmac.sh).
22
+
There are two scripts that can be used to uninstall Visual Studio for Mac and all components for your machine:
23
+
24
+
-[Visual Studio and Xamarin script](#visual-studio-for-mac-and-xamarin-script)
25
+
-[.NET Core script](#net-core-script)
26
+
27
+
The following sections provide information on downloading and using the scripts.
28
+
29
+
### Visual Studio for Mac and Xamarin script
30
+
31
+
You can uninstall Visual Studio and Xamarin components in one go by using the [uninstall script](https://raw.githubusercontent.com/MicrosoftDocs/visualstudio-docs/master/mac/resources/uninstall-vsmac.sh).
23
32
24
33
This uninstall script contains most of the commands that you will find in the article. There are two main omissions from the script and are not included due to possible external dependencies:
25
34
@@ -42,6 +51,26 @@ To run the script, do the following steps:
42
51
```
43
52
4. Finally, delete the uninstall script.
44
53
54
+
### .NET Core script
55
+
56
+
The uninstall script for.NET Core is locatedin the [dotnet cli repo](https://raw.githubusercontent.com/dotnet/cli/master/scripts/obtain/uninstall/dotnet-uninstall-pkgs.sh)
57
+
58
+
To run the script, do the following steps:
59
+
60
+
1. Right-click on the script and select**Save As…** to save the file on your Mac.
61
+
2. Open Terminal and change the working directory to where the script was downloaded:
62
+
63
+
```bash
64
+
$ cd /location/of/file
65
+
```
66
+
3. Make the script executable and the run it with **sudo**:
67
+
68
+
```bash
69
+
$ chmod +x ./dotnet-uninstall-pkgs.sh
70
+
$ sudo ./dotnet-uninstall-pkgs.sh
71
+
```
72
+
4. Finally, delete the .NET Core uninstall script.
73
+
45
74
## Uninstall Visual Studio for Mac
46
75
47
76
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:
0 commit comments