M-Chen-3
M-Chen-3

Reputation: 2054

Visual Studio Code keeps reverting to old update

I've been a user of Visual Studio Code on Windows for about 3 months, and recently I've discovered a serious issue.

Ever since the November 2020 update, whenever I close my Visual Studio Code tab and then reopen it, it shows me the July 2020 update screen. It seems to revert as well, as it then doesn't show me the run/debug buttons and F5 no longer works as well.

When I hit "Help", I'm able to restart to update, then it shows me the November 2020 update screen and everything works normally again. But then the next time I close the tab and reopen it, it reverts again.

I have looked at the Visual Studio Code website and found nothing about this problem, and I've already reinstalled Visual Studio Code once. I have no antiviruses currently.

How can I prevent this from happening?

UPDATE: I reported the issue as J. M. Arnold suggested, and the developers suggested a complete uninstall and reinstall. I did as they asked and now it is working perfectly! I think what happened is I had Avast Antivirus installed and it prevented VS Code from updating. So I tried manually updating by reinstalling it and I think it ended up installing multiple versions. Then after I got rid of my antivirus it was messed up.

Upvotes: 0

Views: 1737

Answers (1)

J. M. Arnold
J. M. Arnold

Reputation: 6799

I checked the official November 2020 (version 1.52.x which you currently have installed according to your comment) as well as the July 2020 (version 1.48) update and not in one of them is anything similar mentioned.

Exactly the contrary: In the past there were suggestions to implement a feature to downgrade or just in general roll back to a prior Visual Studio version, though these requests have generally been dismissed and an alternative solution, namely uninstalling re-installing the wanted version, has mostly been suggested by the team. On a slight off-topic note, the Visual Studio Team has also declared it would be completely inefficient to implement such a rollback feature:

From a tech standpoint, we've talked about what implementing "rollback" would take. We think that if we were to implement rollback, to make it a 100% rollback and "correct", it would likely be a lot slower [...]

Quote from User @artl in the Visual Studio Developer Community forum.

To conclude these different sources and information, I highly doubt it's an intentional feature of VS.


How can I prevent this from happening?

What can you do if you got a problem with an installation/update issue? Click here for the official documentation. I would especially suggest Step 2 (here is a more in-depth tutorial on how to repair Visual Studio), Step 4 and Step 6.

As a last resort you might need to uninstall Visual Studio and re-install it with the latest version, namely the November 2020 update.


As this is not a known bug, at least not to my knowledge - and I've done some digging in the forum; the only thing coming close to the issue is this post:

[...] After installing update, it still displays the update notification, telling, that I still have version 15.9.26, although About box tells 15.9.27. [...]

I suggest to report the issue in the forum by clicking Report a problem on the start page.

Upvotes: 1

Related Questions