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 broad diversity of install-time issues, including update problems.

When to use repair

Use repair if you're having issues with:

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

Tip

An unstable cyberspace connection or an issue in a Windows service, like Windows Installer, tin can crusade install issues. In those scenarios, repair might also exist affected. To cheque for underlying issues, review the error study generated past the Visual Studio Installer.

How to repair

  1. Notice the Visual Studio Installer on your computer.

    For example, on a computer running Windows 10 Anniversary Update or afterward, select Beginning, and then curlicue to the letter V, where it's listed as Visual Studio Installer.

    Note

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

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

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

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

    Note

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

    Tip

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

  1. Discover the Visual Studio Installer on your calculator.

    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 can too detect the Visual Studio Installer in the following location:

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

    You might have to update the installer earlier continuing. If and then, follow the prompts.

  2. In the installer, look for the edition of Visual Studio that you installed. Next, choose More, 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 elevation, user settings, and profiles will be removed. Your synchronized settings such as themes, colors, and key bindings will be restored.

    Tip

    The Repair option appears only 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 as "Bachelor" rather than "Installed".

  1. Find the Visual Studio Installer on your estimator.

    From the Start menu 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

    Y'all can likewise find the Visual Studio Installer in the following location:

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

    You lot might be prompted to update the Visual Studio Installer before continuing. If so, follow the prompts.

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

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

    Notation

    Repairing Visual Studio will reset its environs. Local customizations, similar per-user extensions installed without elevation, user settings, and profiles will be removed. Your synchronized settings such every bit themes, colors, and key bindings volition be restored.

    Tip

    The Repair selection applies to installed instances of Visual Studio. If you do not see the Repair option in the More dropdown menu, 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, come across Troubleshoot Visual Studio installation and upgrade bug for footstep-by-pace guidance.

Here are a few more than back up options:

  • We besides offer an installation chat (English only) support option for installation-related issues.
  • Report product 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 Information technology Administrator and don't accept Visual Studio installed, y'all tin can submit It Admin feedback hither.
  • Suggest a feature, runway product problems, and discover answers in the Visual Studio Programmer Community.

See also

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