Skip to content

Commit 7d16bc3

Browse files
authored
Merge pull request #4539 from MicrosoftDocs/master637124625636257848
For protected CLA branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 0b0387a + f1022e9 commit 7d16bc3

File tree

4 files changed

+30
-18
lines changed

4 files changed

+30
-18
lines changed

docs/install/remove-visual-studio.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: "Remove Visual Studio"
33
titleSuffix: ""
4-
description: "Learn how to completely remove Visual Studio from your computer, step-by-step."
5-
ms.date: 03/30/2019
4+
description: "Learn how to completely remove Visual Studio from your computer, step by step."
5+
ms.date: 12/19/2019
66
ms.custom: "seodec18"
77
ms.topic: conceptual
88
f1_keywords:
@@ -15,7 +15,7 @@ f1_keywords:
1515
- "clean up"
1616
- "clean up Visual Studio"
1717
ms.assetid: 9c81a777-9c95-4934-b517-c60c6dc78799
18-
author: heaths
18+
author: TerryGLee
1919
ms.author: tglee
2020
manager: jillfra
2121
ms.workload:
@@ -25,26 +25,34 @@ ms.technology: vs-installation
2525
---
2626
# Remove Visual Studio
2727

28-
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.
2929

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:
3136

3237
| Switch | Behavior |
3338
| ------ | -------- |
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:
3643

3744
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:
3946
* 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:
4249

4350
```
4451
C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe
4552
```
4653

47-
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.
4856
4957
[!INCLUDE[install_get_support_md](includes/install_get_support_md.md)]
5058

docs/install/uninstall-visual-studio.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Uninstall Visual Studio"
33
titleSuffix: ""
44
description: "Learn how to uninstall Visual Studio, step-by-step."
5-
ms.date: 07/31/2019
5+
ms.date: 12/19/2019
66
ms.custom: "seodec18"
77
ms.topic: conceptual
88
f1_keywords:
@@ -92,10 +92,13 @@ To remove all installations of Visual Studio 2019 and the Visual Studio Installe
9292

9393
::: moniker-end
9494

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.
98+
9599
[!INCLUDE[install_get_support_md](includes/install_get_support_md.md)]
96100

97101
## See also
98102

99103
* [Modify Visual Studio](modify-visual-studio.md)
100-
* [Update Visual Studio](update-visual-studio.md)
101-
* [Uninstall Visual Studio for Mac](/visualstudio/mac/uninstall)
104+
* [Update Visual Studio](update-visual-studio.md)

mac/extending-visual-studio-mac.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Extending Visual Studio for Mac"
33
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."
44
author: heiligerdankgesang
55
ms.author: dominicn
6-
ms.date: 05/07/2019
6+
ms.date: 12/20/2019
77
ms.technology: vs-ide-sdk
88
ms.assetid: D5245AB0-8404-426B-B538-F49125E672B2
99
---
@@ -67,7 +67,7 @@ Command Extensions are defined by adding entries to the `/MonoDevelop/Ide/Comman
6767

6868
```xml
6969
<Extension path="/MonoDevelop/Ide/Commands/Edit">
70-
<command id="DateInserter.DateInserterCommands.InsertDate"
70+
<Command id="DateInserter.DateInserterCommands.InsertDate"
7171
_label="Insert Date"
7272
_description="Insert the current date"
7373
defaulthandler="DateInserter.InsertDateHandler" />
@@ -87,7 +87,7 @@ A CommandItem extension that plugs into the `/MonoDevelop/Ide/MainMenu/Edit` ext
8787

8888
```xml
8989
<Extension path="/MonoDevelop/Ide/MainMenu/Edit">
90-
<commanditem id="DateInserter.DateInserterCommands.InsertDate" />
90+
<CommandItem id="DateInserter.DateInserterCommands.InsertDate" />
9191
</Extension>
9292
```
9393

mac/updater-troubleshooting.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ On a rare occasion, you may see the error message "Error retrieving update infor
1919
- 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/)
2020
- The installer will update any installed components on your machine.
2121
- 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

Comments
 (0)