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

When to utilize repair

Use repair if you're having issues with:

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

Tip

An unstable internet connection or an issue in a Windows service, like Windows Installer, can cause install issues. In those scenarios, repair might also be affected. To check for underlying issues, review the mistake report generated by the Visual Studio Installer.

How to repair

  1. Detect the Visual Studio Installer on your computer.

    For example, on a computer running Windows 10 Ceremony Update or afterwards, select Starting time, and then coil to the alphabetic character V, where it's listed as Visual Studio Installer.

    Note

    On some computers, the Visual Studio Installer might be listed nether the letter "M" every bit the Microsoft Visual Studio Installer.

    Alternatively, you lot 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, 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 volition reset the environment. Local customizations similar per-user extensions installed without elevation, user settings, and profiles will be removed. Your synchronized settings such equally themes, colors, 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 lot've selected More in a version that's listed in the Visual Studio Installer as "Available" rather than "Installed".

  1. Find the Visual Studio Installer on your figurer.

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

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

    Note

    You tin can as well find the Visual Studio Installer in the following location:

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

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

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

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

    Note

    Repairing Visual Studio volition reset its environment. Local customizations like 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 option appears only for installed instances of Visual Studio. If you do not run into the Repair selection, chances are that you've selected More in a version that'southward listed in the Visual Studio Installer as "Available" rather than "Installed".

  1. Notice the Visual Studio Installer on your computer.

    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.

    Notation

    You tin can too find the Visual Studio Installer in the post-obit location:

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

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

  2. In the Visual Studio Installer, look for the installation of Visual Studio that yous desire to repair. So choose Repair from the More dropdown carte.

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

    Notation

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

    Tip

    The Repair option applies to installed instances of Visual Studio. If you exercise non see the Repair selection 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 become wrong. If your Visual Studio installation fails, meet Troubleshoot Visual Studio installation and upgrade problems for step-by-step guidance.

Hither are a few more support options:

  • Nosotros too offering an installation conversation (English language merely) support option for installation-related problems.
  • 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 Information technology Administrator and don't have Visual Studio installed, you lot can submit IT Admin feedback hither.
  • Propose a feature, track production problems, and find answers in the Visual Studio Developer Community.

Come across besides

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