We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e85ec0 commit db2aabfCopy full SHA for db2aabf
tools/appveyor.psm1
@@ -30,6 +30,7 @@ function Invoke-AppVeyorInstall {
30
$globalDotJson = Get-Content (Join-Path $PSScriptRoot '..\global.json') -Raw | ConvertFrom-Json
31
$dotNetCoreSDKVersion = $globalDotJson.sdk.version
32
if (-not ((dotnet --version).StartsWith($dotNetCoreSDKVersion))) {
33
+ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 # https://github.com/dotnet/announcements/issues/77
34
Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile dotnet-install.ps1
35
.\dotnet-install.ps1 -Version $dotNetCoreSDKVersion
36
Remove-Item .\dotnet-install.ps1
0 commit comments