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
If you encounter a catastrophic error and cannot repair or uninstall Visual Studio, you can run the `InstallCleanup.exe` tool to remove installation files and product information for all installed instances of Visual Studio 2017 or Visual Studio 2019. Running this tool should be done only as a last resort if repair or uninstall fail, and may uninstall features from other Visual Studio installations or other products that might then also need to be repaired.
28
+
If you experience a catastrophic error and can't repair or uninstall Visual Studio, you can run the `InstallCleanup.exe` tool to remove installation files and product information for all installed instances of Visual Studio 2017 or Visual Studio 2019.
29
29
30
-
In the following instructions, you can run the tool with different command-line switches with the following behavior:
30
+
> [!WARNING]
31
+
> Use the InstallCleanup tool **only as a last resort** if repair or uninstall fail. This tool might uninstall features from other Visual Studio installations or other products, which then might also need to be repaired or reinstalled.
32
+
33
+
## Run InstallCleanup.exe
34
+
35
+
You can use either of the following command-line switches with the `InstallCleanup.exe` tool:
31
36
32
37
| Switch | Behavior |
33
38
| ------ | -------- |
34
-
|`-i`| This switch is the default if no other switch is passed and removes only the main installation directory and product information. This behavior is preferable if you intend to reinstall the same version after you run the `InstallCleanup.exe` tool. |
35
-
|`-f`| Specifying this switch removes the main installation directory, product information, and most other features installed outside the installation directory that may be shared with other Visual Studio installations or other products. This behavior is preferable if you intend to remove Visual Studio without reinstalling later. |
39
+
|`-i`| This switch is the default if no other switch is passed. It removes only the main installation directory and product information. Use this switch if you intend to reinstall the same version of Visual Studio after you run the `InstallCleanup.exe` tool. |
40
+
|`-f`| This switch removes the main installation directory, product information, and most other features installed outside the installation directory, that might also be shared with other Visual Studio installations or other products. Use this switch if you intend to remove Visual Studio without reinstalling it later. |
41
+
42
+
Here's how to run the `InstallCleanup.exe` tool:
36
43
37
44
1. Close the Visual Studio Installer.
38
-
2. Open an administrator command prompt. To open an administrator command prompt, follow these steps:
45
+
1. Open an administrator command prompt. To open an administrator command prompt, follow these steps:
39
46
* Type **cmd** in the "Type here to search" box.
40
-
* Right-click **Command Prompt**, and then click**Run as administrator**.
41
-
3. Type the full path of the `InstallCleanup.exe`utility and pass whichever command-line switch you desire. By default, the path of the utility is as follows:
47
+
* Right-click **Command Prompt**, and then choose**Run as administrator**.
48
+
1. Enter the full path of the `InstallCleanup.exe`tool and add the command-line switch you prefer. By default, the path of the tool is as follows:
If you do not find `InstallCleanup.exe` under the Visual Studio Installer directory - always located at `%ProgramFiles(x86)%\Microsoft Visual Studio` - follow the instructions to [install Visual Studio](install-visual-studio.md) and when the workload selection screen is displayed, close the window and follow the preceding steps again.
54
+
> [!NOTE]
55
+
> If you can't find `InstallCleanup.exe` under the Visual Studio Installer directory, which is always located at `%ProgramFiles(x86)%\Microsoft Visual Studio`, here's what to do next. Follow the instructions to [install Visual Studio](install-visual-studio.md). Then, when the workload selection screen is displayed, close the window and follow the steps on this page again.
Copy file name to clipboardExpand all lines: docs/install/uninstall-visual-studio.md
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Uninstall Visual Studio"
3
3
titleSuffix: ""
4
4
description: "Learn how to uninstall Visual Studio, step-by-step."
5
-
ms.date: 07/31/2019
5
+
ms.date: 12/19/2019
6
6
ms.custom: "seodec18"
7
7
ms.topic: conceptual
8
8
f1_keywords:
@@ -92,10 +92,13 @@ To remove all installations of Visual Studio 2019 and the Visual Studio Installe
92
92
93
93
::: moniker-end
94
94
95
+
## Remove all files
96
+
97
+
If you experience a catastrophic error and can't uninstall Visual Studio by using the previous instructions, there is a "last resort" option that you can consider using instead. For more information about how to remove all Visual Studio installation files and product information completely, see the [Remove Visual Studio](remove-visual-studio.md) page.
Copy file name to clipboardExpand all lines: mac/extending-visual-studio-mac.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: "Extending Visual Studio for Mac"
3
3
description: "Visual Studio for Mac's features and functionality can be extended with modules called extension packages. The first part of this guide creates a simple Visual Studio for Mac extension package to insert the date and time into a document. The second part of this guide introduces the fundamentals of the extension package system and some of the core APIs that form the foundation of Visual Studio for Mac."
4
4
author: heiligerdankgesang
5
5
ms.author: dominicn
6
-
ms.date: 05/07/2019
6
+
ms.date: 12/20/2019
7
7
ms.technology: vs-ide-sdk
8
8
ms.assetid: D5245AB0-8404-426B-B538-F49125E672B2
9
9
---
@@ -67,7 +67,7 @@ Command Extensions are defined by adding entries to the `/MonoDevelop/Ide/Comman
Copy file name to clipboardExpand all lines: mac/updater-troubleshooting.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,4 +19,5 @@ On a rare occasion, you may see the error message "Error retrieving update infor
19
19
- If you continue to see this error message, you can also try to update using the Installer, if the **.dmg** is still on your machine, or you can download it from [visualstudio.com](https://visualstudio.microsoft.com/vs/mac/)
20
20
- The installer will update any installed components on your machine.
21
21
- By re-running the installer, you'll also be able to install any missing components that you had not previously installed.
22
-
- You can also try clearing your cached downloads, by deleting the file located at `~/Library/Caches/VisualStudio/7.0/TempDownload/index.xml`.
22
+
- You can also try clearing your cached downloads, by deleting the file located at `~/Library/Caches/VisualStudio/8.0/TempDownload/index.xml`.
23
+
- If you're working with an older version of Visual Studio for Mac, you might have other version numbers under the `VisualStudio` directory. Delete the `index.xml` file in these paths as well.
0 commit comments