Repair Visual Studio

Applies to: yesVisual Studio noVisual Studio for Mac

Sometimes your Visual Studio installation becomes damaged or corrupted. A repair is useful for fixing a wide variety of install-time issues, including update issues.

When to use repair

Utilize repair if y'all're having issues with:

  • Installation payload, which tin happen when writing a file to disk is unsuccessful and the file gets corrupted. Repair can reacquire needed files.
  • Client-side download—bold you lot've fixed any internet connection or proxy problems.
  • Updating Visual Studio. Repair fixes many common update issues.

Tip

An unstable internet connexion or an result in a Windows service, like Windows Installer, can crusade install bug. In those scenarios, repair might also be affected. To cheque for underlying issues, review the fault study generated past the Visual Studio Installer.

How to repair

  1. Discover the Visual Studio Installer on your computer.

    For instance, on a computer running Windows 10 Ceremony Update or later on, select First, and then scroll to the letter of the alphabet Five, where it'south listed as Visual Studio Installer.

    Annotation

    On some computers, the Visual Studio Installer might be listed under the letter "M" as the Microsoft Visual Studio Installer.

    Alternatively, you can find the Visual Studio Installer in the following location: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe

  2. Open the installer, cull More, and then choose Repair.

    Screenshot showing the Repair option in the More dropdown menu of the Visual Studio Installer.

    Notation

    Repairing Visual Studio will reset the environment. Local customizations like per-user extensions installed without height, user settings, and profiles will be removed. Your synchronized settings such as themes, colors, key bindings will be restored.

    Tip

    The Repair choice appears merely for installed instances of Visual Studio. If you do not see the Repair option, chances are that you've selected More in a version that's listed in the Visual Studio Installer every bit "Available" rather than "Installed".

  1. Find the Visual Studio Installer on your figurer.

    From the Start menu in Windows, y'all can search for "installer".

    Screenshot showing the result of a Start menu search for the Visual Studio Installer.

    Notation

    You tin can besides observe the Visual Studio Installer in the following location:

    C:\Programme Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe

    You might accept to update the installer earlier continuing. If so, follow the prompts.

  2. In the installer, await for the edition of Visual Studio that you installed. Next, choose More, and and then choose Repair.

    Screenshot showing the Repair option in the More dropdown menu of the Visual Studio Installer.

    Note

    Repairing Visual Studio will reset its surroundings. Local customizations like per-user extensions installed without peak, user settings, and profiles will be removed. Your synchronized settings such equally themes, colors, and key bindings volition be restored.

    Tip

    The Repair selection appears only for installed instances of Visual Studio. If you lot do not see the Repair choice, chances are that you've selected More in a version that'southward listed in the Visual Studio Installer equally "Available" rather than "Installed".

  1. Notice the Visual Studio Installer on your calculator.

    From the Start card in Windows, search for "installer", and then select Visual Studio Installer from the results.

    Screenshot showing the result of a Start menu search for the Visual Studio Installer.

    Note

    You lot tin also find the Visual Studio Installer in the following location:

    C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe

    You lot might exist prompted to update the Visual Studio Installer before continuing. If and then, follow the prompts.

  2. In the Visual Studio Installer, wait for the installation of Visual Studio that you want to repair. So choose Repair from the More than dropdown menu.

    Screenshot showing the Repair option in the More dropdown menu of the Visual Studio Installer.

    Note

    Repairing Visual Studio will reset its environment. Local customizations, like per-user extensions installed without tiptop, user settings, and profiles will exist removed. Your synchronized settings such as themes, colors, and central bindings will be restored.

    Tip

    The Repair option applies to installed instances of Visual Studio. If you do not see the Repair option in the More dropdown carte du jour, chances are you're in the Available tab instead of the Installed tab of the Visual Studio Installer.

Support or troubleshooting

Sometimes, things can go wrong. If your Visual Studio installation fails, see Troubleshoot Visual Studio installation and upgrade problems for stride-by-stride guidance.

Here are a few more support options:

  • We too offer an installation chat (English only) support selection for installation-related issues.
  • Report production issues to us via the Report a Trouble tool that appears both in the Visual Studio Installer and in the Visual Studio IDE. If you're an IT Administrator and don't take Visual Studio installed, you can submit IT Admin feedback here.
  • Suggest a characteristic, track product problems, and find answers in the Visual Studio Developer Community.

Run into as well

  • Install Visual Studio
  • Update Visual Studio
  • Uninstall Visual Studio
  • Troubleshooting Visual Studio installation and upgrade issues