Table of Contents
Make sure you’re running the Code version you expect!
I opened Visual Studio Code and I was surprised with the following error message:
Visual Studio Code had been updated the day before, so maybe that’s why?
I have no idea what the difference is between the user-wide and system-wide version. One of the two will be newer.
The fix is easier than you think
The solution was easier than I thought.
If Visual Studio Code indicates that I have installed 2 distributions, then I will be able to find something in Uninstall or Change a program, right?
And indeed, there were two installations.
System-wide or used-wide?
Okay we are so far that we know that there are two installations that you can remove, but do you go for the system-wide, or the user-wide version? Frankly, I do not know that.
I have chosen to delete the oldest version.
After I removed the System-wide version, the message did not come back after starting Visual Studio Code.
Summary
Do you use Visual Studio Code for PowerShell? Then it is wise to use Change Control in VSC. View this blog post for Change Control in Visual Studio Code.
The complete error message
Below is the full error message for someone looking for another part of the error message.
“You are running the system-wide installation of Code, while having the user-wide distribution installed as well. Make sure you’re running the Code version you expect.”
Thank you very much!