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
TLS 1.2 Support When Installing PackageManagement Module (#1315)
* the powershell command to install the update should include the command to use TLS1.2
* Update src/PowerShellEditorServices/Services/PowerShellContext/Handlers/GetVersionHandler.cs
Co-authored-by: Tyler James Leonhardt <tylerl0706@gmail.com>
* Enhanced package update failure message on line 143 and added Repository option to Install-Module command
* Revert "Enhanced package update failure message on line 143 and added Repository option to Install-Module command"
This reverts commit 7975481.
* Enhanced error message while installing PackageManagement
* Repository argument put outside of single quote by mistake.
Co-authored-by: Serkan ZENGİN <szengin@ssb.gov.tr>
Co-authored-by: Tyler James Leonhardt <tylerl0706@gmail.com>
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)?",
Message="PackageManagement update failed. 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`"
143
+
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