-
Notifications
You must be signed in to change notification settings - Fork 517
Description
Issue Description
After opening a PowerShell file within VSCode, I get a notification saying "You have an old version of PowerShell (7.1.0). The current latest release is v7.1.1. Would you like to update the version? (This will close ALL pwsh terminals running in this Visual Studio Code session)." I click "Yes" and the notification says "Downloading PowerShell installer...", then after a few seconds the terminal reloads and the original notification appears stating "You have an old version of PowerShell (7.1.0)..." implying that the update failed.
For reference, I currently have PowerShell 7.1.0 installed with the VSCode PowerShell extension 2020.6.0 and VSCode installed machine wide (in the "C:\Program Files\Microsoft VS Code" directory).
Expected Behaviour
After clicking "Yes" to allow the update, it should update successfully.
Actual Behaviour
The download or installation fails after clicking "Yes", causing the update prompt to reappear.