Skip to content

Commit

Permalink
Manually installing 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jbogard committed Jun 1, 2018
1 parent a3f17cd commit cbb7146
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ version: '{build}'
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
## temporary until 2.1 sdk is installed
install:
- ps: $urlCurrent = "https://dotnetcli.blob.core.windows.net/dotnet/Sdk/2.1.300/dotnet-sdk-2.1.300-win-x64.zip"
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: $tempFileCurrent = [System.IO.Path]::GetTempFileName()
- ps: (New-Object System.Net.WebClient).DownloadFile($urlCurrent, $tempFileCurrent)
- ps: Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFileCurrent, $env:DOTNET_INSTALL_DIR)
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
nuget:
disable_publish_on_pr: true
build_script:
Expand Down

0 comments on commit cbb7146

Please sign in to comment.