Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No product updates in Visual Studio 2017 15.2

I'm running Visual Studio 2017 15.2 and I see no update to 15.3. Why is that? What's the right way to upgrade to 15.3?

Edit:

On my Dev PC there is no prompt to upgrade to 15.3, I'm stuck on 15.2:

enter image description here

On my Build Server I did get the option:

enter image description here

Now I have different versions of the software running in an Enterprise. How do I upgrade Visual Studio on my Dev PC? As pictured I am using the latest installer.

like image 732
Sam Avatar asked Aug 15 '17 23:08

Sam


People also ask

Is VS 2017 still supported?

For example, Visual Studio 2017 was released in 2017; its support lifecycle will end in April 2027. Servicing for these products is performed through "updates" (or "versions") which are packages of new features and cumulative fixes for existing features in the product.

What is the latest Visual Studio 2017 version?

Visual Studio 2017 version 15.9 is the final supported servicing baseline for Visual Studio 2017 and has entered the extended support period. Enterprise and Professional customers needing to adopt a long term stable and secure development environment are encouraged to standardize on this version.

How do I upgrade Visual Studio to latest version?

You can also manually check for updates by running Help > Check for Updates on Linux and Windows or running Code > Check for Updates on macOS. Note: You can disable auto-update if you prefer to update VS Code on your own schedule.


1 Answers

It turns out waiting (patiently :-)) for the next version of the Visual Studio Installer seems to have fixed the problems.

Also, Microsoft has a troubleshooting page available here: Troubleshooting Visual Studio 2017 installation and upgrade failures. I will quote the most important (a.k.a not obvious) parts for future reference:

1) Try to delete Visual Studio Installer data to remove corrupted files:

The Visual Studio Installer bootstrapper is a minimal light-weight executable that installs the rest of the Visual Studio Installer. Deleting Visual Studio Installer files and then rerunning the bootstrapper might solve some upgrade failures. To do this, follow these steps:

  • Close the Visual Studio Installer.
  • Delete the Visual Studio Installer packages and MDA folders to remove potentially corrupted downloaded files if they exist. Typically, these directories are C:\ProgramData\Microsoft\Visual Studio\Packages.
  • Run the Visual Studio Installer bootstrapper. You may find the bootstrapper in your Downloads folder with a file name that follows a vs_[Visual Studio edition]__*.exe pattern. If you don't find that application, you can download the bootstrapper by going to the Visual Studio downloads page and clicking download for your edition of Visual Studio. Run this executable to reset your installation metadata.
  • Try to install or update Visual Studio again. [...]. Note This step will reinstall Visual Studio Installer files and reset installation metadata.

2) As a last resort, you can run InstallCleanup.exe.

InstallCleanup.exe is a utility that's packaged with the Visual Studio Installer, and it cleans up installation files. This isn't a full reinstall. This utility deletes cache and instance data for Visual Studio 2017 and deletes existing corrupt, partial and full instances of Visual Studio 2017.

  • Close the Visual Studio Installer.
  • Open an administrator command prompt. To do this, follow these steps:
  • On the Start menu, click Run (Start + R).
  • Type cmd.
  • Right-click Command Prompt, and then choose Run as administrator.
  • Type the full path of the InstallCleanup.exe utility, and pass the following command line switch: -f. By default, the path of the utility is as follows: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe
  • Rerun the bootstrapper that's described in 1)
  • Try to install or update Visual Studio again.
like image 111
Simon Mourier Avatar answered Nov 08 '22 07:11

Simon Mourier