From cae45104ed204c88c4523b209670aebfa9c225d2 Mon Sep 17 00:00:00 2001 From: Fisu Nakato Date: Wed, 27 Feb 2019 20:07:14 -0500 Subject: [PATCH] Manually install .NET Framework 4.8 as well. --- appveyor.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6ce7495..0fed433 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,7 +12,7 @@ install: { - Write-Host "Installing .NET Core SDK..." -ForegroundColor Cyan + Write-Host "Installing .NET Core 3.0.100-preview-010184 SDK..." -ForegroundColor Cyan Write-Host "Downloading..." @@ -29,7 +29,7 @@ install: Write-Host "Installed" -ForegroundColor Green - Write-Host "Installing .NET Core runtime..." -ForegroundColor Cyan + Write-Host "Installing .NET Core 3.0.0-preview-27324-5 runtime..." -ForegroundColor Cyan Write-Host "Downloading..." @@ -45,6 +45,23 @@ install: Write-Host "Installed" -ForegroundColor Green + + Write-Host "Installing .NET Framework 4.8 Targeting Pack..." -ForegroundColor Cyan + + Write-Host "Downloading..." + + $exePath = "$env:TEMP\ndp48-devpack-enu.exe" + + (New-Object Net.WebClient).DownloadFile('https://download.visualstudio.microsoft.com/download/pr/9854b5f2-2341-4136-ad7d-1d881ab8d603/e3a011f2a41a59b086f78d64e1c7a3fc/ndp48-devpack-enu.exe', $exePath) + + Write-Host "Installing..." + + cmd /c start /wait "$exePath" /quiet /norestart + + del $exePath + + Write-Host "Installed" -ForegroundColor Green + } before_build: - ps: nuget restore