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 issue is that PowerShell produces an exception System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShell.Package Management.Cmdlets.InstallPackage when running the update package manager upon being prompted by the PowerShell VS Code extension (v2021.12.0).
PowerShell suggests upgrading PackageManager due to a security vulnerability:
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)?
I accept this recommendation.
PowerShell produces the following error:
PackageManagement\Install-Package : Access to the cloud file is denied At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShell.Package
Management.Cmdlets.InstallPackage
The text was updated successfully, but these errors were encountered:
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.
The issue is that PowerShell produces an exception
System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShell.Package Management.Cmdlets.InstallPackage
when running the update package manager upon being prompted by the PowerShell VS Code extension (v2021.12.0).The text was updated successfully, but these errors were encountered: