You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason we attempted to update `PackageManagement` is no longer applicable
(the deadlock has been fixed) so now we don't have to won this logic.
Fixes#1576 and #1721.
_languageServer.Window.ShowWarning("You have an older version of PackageManagement known to cause issues with the PowerShell extension. Please run the following command in a new Windows PowerShell session and then restart the PowerShell extension: `Install-Module PackageManagement -Force -AllowClobber -MinimumVersion 1.4.6`");
Message="You have an older version of PackageManagement known to cause issues with the PowerShell extension. Would you like to update PackageManagement (You will need to restart the PowerShell extension after)?",
105
-
Type=MessageType.Warning,
106
-
Actions=new[]
107
-
{
108
-
newMessageActionItem
109
-
{
110
-
Title=takeActionText
111
-
},
112
-
newMessageActionItem
113
-
{
114
-
Title="Not now"
115
-
}
116
-
}
117
-
})
118
-
.ConfigureAwait(false);
119
-
120
-
// If the user chose "Not now" ignore it for the rest of the session.
Message = "PackageManagement update failed. This might be due to PowerShell Gallery using TLS 1.2. More info can be found at https://aka.ms/psgallerytls"
0 commit comments