Update Visual Studio

Applies to: yesVisual Studio noVisual Studio for Mac noVisual Studio Lawmaking

This topic discusses how to update a client installation of Visual Studio on Windows. For Visual Studio for Mac, encounter Update Visual Studio for Mac.

If you lot are an IT Administrator and want to configure your organization's clients to update from a network layout, refer to the Visual Studio Administrators Guide, peculiarly the section on manage and update a network installation.

Before you update

In order to install, update, or modify Visual Studio, the account performing the update must accept administrative permissions on the motorcar and too must have permissions to the place where the product updates are located (either the internet or a network share). If you lot are logged in as a typical user and attempt to perform one of these commands, and so y'all'll get a User Account Command discover prompting you for admin credentials. For more information, come across User Permissions and Visual Studio.

Visual Studio must be closed before performing an update. We highly recommend saving your work earlier performing an update.

Visual Studio must starting time exist installed on the machine before you can update it. To install the electric current version of Visual Studio from Microsoft hosted servers, get to the Visual Studio downloads page. If you are currently using some other example of Visual Studio, you can either install a new example of Visual Studio side-by-side to your existing installation, or y'all can uninstall the previous instance of Visual Studio before installing this new ane.

We encourage y'all to update to the most recent release of Visual Studio 2019 and so that you always get the latest features, security fixes, and improvements. And if you'd like to attempt out our newest version, consider downloading and installing Visual Studio 2022.

There are several unlike ways to update an installation of Visual Studio. You tin update through the Visual Studio Installer, you can check for updates or use the Notification hub in the IDE, or you tin can update by running a specific version of the bootstrapper. Here'south how to update Visual Studio 2019 using these various methods.

Utilise the Visual Studio Installer

  1. Detect the Visual Studio Installer on your estimator.

    In the Windows Start carte du jour, you can search for "installer".

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

    You might take to update the installer before continuing. If so, follow the prompts.

  2. In the installer, await for the instance of Visual Studio that you lot want to update.

    For instance, if you previously installed Visual Studio Customs 2019 and there'due south an update for it, then an Update bachelor message appears in the installer.

    Screenshot showing a Visual Studio 2019 installation with an available update.

  3. Choose Update to install the updates.

    Screenshot showing the Update button in the Visual Studio installer that can be used to update to a Visual Studio 2019 installation.

  4. After the update is complete, you might be asked to restart your computer. If so, do so, and then start Visual Studio equally you typically would.

    If y'all aren't asked to restart your calculator, choose Launch to start Visual Studio from the installer.

    Screenshot showing the Launch button in the Visual Studio installer that can be used to start Visual Studio 2019.

Use the message box in the IDE

  1. When you open Visual Studio is, the IDE checks to encounter if an update is bachelor. In sure situations, a Visual Studio 2019 update bulletin will briefly appear. If y'all want to update at present, then choose View details. If yous want to defer the update until when yous shut Visual Studio, choose Update on Shut.

    Screenshot showing the 'Visual Studio 2019 update' message in the IDE.

  2. If you chose View details, then in the subsequent Update downloaded and gear up to install dialog box, choose Update to update now.

    Screenshot showing the Update button in the 'Update downloaded and ready to install' dialog box.

Manually cheque for updates

  1. You can check to meet if an update is bachelor by choosing Help from the carte du jour bar, and so choosing Check for Updates. You tin can also utilise the search box by pressing Ctrl+Q, typing "bank check for updates", and then choosing the search issue that matches.

    Screenshot showing the 'Check for Updates' from the Help menu.

  2. In the Update available dialog box, choose Update.

    Screenshot showing the Update button in the 'Update available' dialog box.

Utilize the Notifications hub

  1. Choose the notification icon from the lower-correct corner of the Visual Studio IDE to open up the Notifications hub.

    Screenshot showing the notification icon in the Visual Studio IDE.

  2. In the Notifications hub, choose the update that you want to install. If you want to update at present, and so choose View details. If y'all want to defer the update until when yous close Visual Studio, choose Update on Close.

    Screenshot showing the Notification hub in Visual Studio 2019.

  3. If you chose View details, then in the subsequent Update available dialog box, choose Update.

Run a specific bootstrapper

If you're an Enterprise or Professional customer, you can update your instance of Visual Studio 2019 to any specific version that has been released, as long as it's a higher version than what is currently installed. To update your instance of Visual Studio 2019 via this method, navigate to the Visual Studio 2019 release history page, download the bootstrapper that corresponds to the desired update version into your product installation directory, so double click on it to initiate the update.

Customize update settings

In that location are several unlike settings that can be customized to command the update behavior. A few of these settings are native to Visual Studio 2019 and bargain with how and when the product bits are downloaded and installed. Other settings, such equally the ability to configure the source of the updates, crave the presence of the newer Visual Studio 2022 installer.

Installation and download behaviors

  1. On the carte du jour bar, cull Tools > Options.

  2. Expand Environment, so choose Product Updates.

    Screenshot showing the updates settings in Visual Studio.

  3. Observe the configuration options that are available to set up in this dialog. You tin cull the Automatically download updates setting, which allows updates to download while your auto is idle. There are also ii installation modes to choose from: Install while downloading, and Download all, then install. Choose the installation way and the automated download setting y'all want for your Visual Studio updates.

Configure source location of updates

If you're in an enterprise environment, and then it's possible to configure the location that your customer instances looks for updates. This is useful in situations where your client installed from a network layout, but you later desire the clients to get updates from a different network layout. The ability to configure update locations requires the presence of the newer Visual Studio 2022 installer, which tin exist obtained by either installing Visual Studio 2022 on the customer motorcar, or by an administrator pushing it out through a network layout. For more than information about how to use this feature, refer to the Visual Studio 2022 documentation on configuring source location of updates. Refer also to data on how to configure your Visual Studio 2019 layouts to use the latest Visual Studio 2022 installer.

Update on close

In Visual Studio 2019 version sixteen.9, we introduced the concept of Update on Close. When an update is available, the update notification UI in the IDE provides a way to defer the update to when you voluntarily close Visual Studio. The Update on Shut button appears in the update notification message box, and it also tin can be selected in the notification hub. The Update on Shut command is not a permanent setting; it applies only to the current update. In other words, the Update on Shut deferral must exist chosen each time you admit or dismiss the notification that the update is available.

Screenshot showing the Update on Close option in the update notification message box.

We encourage you to update to the most recent release of Visual Studio 2022 so that yous always get the latest features, security fixes, and improvements.

There are several different ways to update an installation of Visual Studio. Y'all can update through the Visual Studio Installer, yous can bank check for updates or use the notification hub in the IDE, or you can update past running a specific version of the bootstrapper. Hither'southward how to update Visual Studio 2022 using these various methods.

Use the Visual Studio Installer

  1. Detect the Visual Studio Installer on your computer.

    In the Windows Starting time menu, 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.

    If you're prompted to update the Visual Studio Installer earlier continuing, practise so past following the prompts.

  2. In the Visual Studio Installer, look for the installation of Visual Studio that y'all desire to update.

    For instance, if you previously installed Visual Studio Community 2022 and there's an update for it, then an Update available message appears in the Visual Studio Installer.

    Screenshot showing the Update button and message in the Visual Studio Installer when a new update is available.

  3. Cull Update to install the update.

    Screenshot showing the Update button that you can select to install the new update.

  4. After the update is complete, the Visual Studio Installer might prompt you to restart your figurer. If so, do so, and so outset Visual Studio as you typically would.

    If you aren't asked to restart your figurer, choose Launch to beginning Visual Studio from the Visual Studio Installer.

    Screenshot showing the Launch button that you can select to start Visual Studio.

Utilise the message box in the IDE

  1. When you lot open Visual Studio, the IDE checks to run across if an update is available. In sure situations, a Visual Studio 2022 update bulletin will briefly appear. If yous desire to update at present, then choose View details. If you want to defer the update until when you close Visual Studio, cull Update on Close.

    Screenshot showing an update message for Visual Studio 2022 in the lower-right corner of the Visual Studio IDE.

  2. If you chose View details, then in the subsequent Update available dialog box, cull Update to update now.

    Screenshot showing the Update button in the 'Update available' dialog box in Visual Studio 2022.

Manually check for updates

  1. You lot can cheque to see if an update is available by choosing Help from the menu bar, then choosing Check for Updates. You can also employ the search box by pressing Ctrl+Q, typing "check for updates", and so choosing the search result that matches.

    Screenshot showing the 'Check for Updates' option in the Help menu.

  2. In the Update available dialog box, choose Update.

    Screenshot showing the Update button in the 'Update available' dialog box.

Apply the Notifications hub

  1. Choose the notification icon from the lower-correct corner of the Visual Studio IDE to open the Notifications hub.

    Screenshot showing the notification icon in the Visual Studio IDE.

  2. In the Notifications hub, choose the update that you lot want to install. If you want to update now, then choose View details. If you desire to defer the update until when you close Visual Studio, choose Update on Close.

    Screenshot showing the Notifications hub in the Visual Studio IDE.

  3. If you chose View details, and so in the subsequent Update available dialog box, choose Update.

Run a specific bootstrapper

If you're an Enterprise or Professional customer, you tin update your case of Visual Studio 2022 to any specific version that has been released, as long as it's a higher version than what is currently installed. To update your instance of Visual Studio 2022 via this method, navigate to the Visual Studio 2022 release history page, download the bootstrapper that corresponds to the desired update version into your product installation directory, and so double-click on it to initiate the update.

Customize update settings

There are several different settings that tin can exist customized to control the update behavior, such as how and when the product $.25 are downloaded and installed, or where the update source location is.

Installation and download behaviors

  1. On the menu bar, choose Tools > Options.

  2. Expand Surroundings, and so choose Product Updates.

    Screenshot showing the Updates settings in the Options window of the Visual Studio IDE.

  3. Observe the configuration options that are bachelor to gear up in this dialog. You can choose the Automatically download updates setting, which allows updates to download while your motorcar is idle. At that place are also two installation modes to choose from: Install while downloading, and Download all, then install. Cull the installation mode and the automatic download setting you lot desire for your Visual Studio updates.

Configure source location of updates

With Visual Studio 2022, you can now configure where your clients will get their updates from. These update source locations are called "channels", and y'all can find more information about channel purpose and availability in the Visual Studio Release Rhythm documentation. Microsoft makes both the Electric current and the Preview channels available to everyone, and the long term servicing channels (LTSCs) are bachelor to Enterprise and Professional person customers. Information technology Administrators tin can also configure the update source locations, such equally network layouts, that the clients should take access to. Refer to the Visual Studio Administrators Guide for additional options and details on how to set this up.

In that location are two ways to bring upward the Update Settings dialog, which allows you to change the channel that your Visual Studio instance should get its updates from.

  1. Open the Visual Studio installer, select the instance you want to configure, cull the More button so choose the Update settings menu option. Refer to previous instructions for how to discover the Visual Studio Installer.

Screenshot showing the Updates settings in the Installer.

  1. An alternative way to invoke the Update Settings dialog is to open the Visual Studio IDE, bring up the Update available dialog (either View details on an update notification or Check for updates on the Help menu) and click on the Change update settings link.

Screenshot showing the Updates settings in the Update available dialog in the IDE.

The Update settings dialog volition await something like this. In this example, the Visual studio instance is using the LTSC 17.0 channel.

Screenshot showing the Updates settings dialog in the Visual Studio 2022 IDE.

By choosing the correct value in the Update channel dropdown, y'all can control the source location of future updates for this case of Visual Studio. Additional things to go on in mind are:

  • The Preview and Current channels are available for all editions of Visual Studio, and the LTSC channels are but bachelor for Professional person and Enterprise customers.
  • You can choose to update your case of Visual Studio immediately after you configure the Update channel location. Or you can defer the actual product update until some later fourth dimension. The act of configuring the update channel and the human activity of updating the product are two independent events. For information on how to programmatically command the update aqueduct, refer to Use the modifySettings command.
  • You can only change the update aqueduct if the version of the product that's available at the tip of that aqueduct is greater than the version you have installed. For instance, you can always transition from the Current channel to the Preview aqueduct, but you can't transition from the Preview aqueduct to the Electric current channel until the latest release on the Current channel surpasses the version of Preview that you accept installed.
  • When you update to a new channel, you'll install the most recent release on that channel. If y'all are an enterprise customer and want to install a particular version of the production on that channel, then follow the Run a specific bootstrapper instructions described previously.
  • LTSC channels all take expiration dates every bit illustrated in the picture show above. Once the LTSC has expired, it cannot be used every bit a source of updates, and it'll disappear from this list.
  • All Microsoft channels are hosted on Microsoft servers and crave access to the internet.
  • Each instance of Visual Studio has the ability to independently configure its source for updates. So, if you take two instances of Visual Studio 2022 installed, each can update from a different aqueduct.
  • Information technology Administrators can control the text in the Update channel dropdown. For example, they can add network layout locations equally update sources. They tin also suppress Microsoft hosted locations from being bachelor every bit update source options. This functionality works for Visual Studio 2019 installs likewise. For information on how to configure these update locations, refer to the Set defaults for enterprise deployments page.

Update on close

When an update is available, the update notification UI in the IDE provides a mode to defer the update until you voluntarily close Visual Studio. The Update on Close button appears in the update notification bulletin box, and it also can be selected in the Notification hub. The Update on Close command is not a permanent setting; it applies only to the current update. In other words, the Update on Close deferral must exist chosen each time you acknowledge or dismiss the notification that the update is available.

Screenshot showing the Update on Close option in the update notification message box.

Administrator updates

If you are part of an organization that centralizes management of software installations, then your enterprise ambassador might command how Visual Studio updates your motorcar. For more about how to control or configure the types of updates your machine tin can accept, run across Using Configuration Director to deploy Visual Studio updates.

Support or troubleshooting

Sometimes, things can get incorrect. If your Visual Studio installation fails, encounter Troubleshoot Visual Studio installation and upgrade bug for stride-by-step guidance.

Here are a few more than support options:

  • We also offer an installation chat (English language but) support option for installation-related issues.
  • Report product issues to u.s. via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE. If you lot're an It Ambassador and don't take Visual Studio installed, yous tin submit It Admin feedback hither.
  • Suggest a characteristic, track product issues, and detect answers in the Visual Studio Developer Community.

Encounter also

  • Install Visual Studio versions side-by-side
  • Update a network-based installation of Visual Studio
  • Visual Studio administrator guide
  • Update Visual Studio while on a servicing baseline
  • Control updates to network-based Visual Studio deployments
  • Modify Visual Studio
  • Uninstall Visual Studio