mirror of https://github.com/grpc/grpc.git
Merge pull request #17276 from jtattermusch/csharp_netcore2x
C# upgrade executables to netcoreapp2.1pull/18336/head
commit
ee500f1963
19 changed files with 38 additions and 18 deletions
@ -0,0 +1,16 @@ |
||||
#!/usr/bin/env powershell |
||||
# Install dotnet SDK needed to build C# projects on Windows |
||||
|
||||
Set-StrictMode -Version 2 |
||||
$ErrorActionPreference = 'Stop' |
||||
|
||||
# avoid "Unknown error on a send" in Invoke-WebRequest |
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 |
||||
|
||||
$InstallScriptUrl = 'https://dot.net/v1/dotnet-install.ps1' |
||||
$InstallScriptPath = Join-Path "$env:TEMP" 'dotnet-install.ps1' |
||||
|
||||
# Download install script |
||||
Write-Host "Downloading install script: $InstallScriptUrl => $InstallScriptPath" |
||||
Invoke-WebRequest -Uri $InstallScriptUrl -OutFile $InstallScriptPath |
||||
&$InstallScriptPath -Version 2.1.504 |
Loading…
Reference in new issue