• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

Visual Studio Code 1.48.0 issue

Started by hstahl, August 20, 2020, 08:09:55 AM

Previous topic - Next topic

hstahl

Hello,

I'm 0 for 2 on testing Visual Studio Code 1.48.0 (x64) installs if Visual Studio Code is currently running.  Both computers were trying to upgrade from 1.47.X versions.  After the failed upgrade VSC is left in a broken state and throws the error shown in the screenshot when trying to launch (Uncaught Exception JavaScript error).  Attempting to install the update again does not fix the issue.  An install of the download directly from MS does fix it. 

The install seems to have worked on a computer where VS Code was not running at the time.  I have never included the "auto close" option in the past for VSC and it has always worked upgrading over top of a running instance.  So I'm not sure if MS has changed anything with the 1.48.0 version or not.  For now I've switched PMPC to "auto close" VSC and will test again when a new version of VSC releases - I've pulled the update for this months patches.

Thanks

Andrew Jimenez (Patch My PC)

I actually checked this out for someone else a week or 2 ago. This seems to be an ongoing issue with the Visual Studio Code installer, and an issue outside of Patch My PC. I would definitely turn on the auto-close or skip install if code is running for the time being. Please see the following bug reports for VSCode:
https://github.com/microsoft/vscode/issues/71937
https://github.com/microsoft/vscode/issues/47841
https://github.com/microsoft/vscode/issues/47968

hstahl

Interesting.  Thanks Andrew.  We'll see how it goes next month now that I've added the auto-close option.  Maybe we've been lucky to not see it until now based on how old some of those reported issues are on github.

Thanks

Andrew Jimenez (Patch My PC)

For sure, if we continue to see issues like this, we'll add the recommendation to our considerations page here: https://patchmypc.com/considerations-third-party-products