From 83ea7c7771d2652d3938c95fd3f6618fee90d999 Mon Sep 17 00:00:00 2001 From: de4dot Date: Tue, 24 Sep 2019 21:30:32 +0200 Subject: [PATCH] Update appveyor.yml --- appveyor.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 65629eea8..f57cefd4b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,19 +2,20 @@ version: x.x.{build} image: Visual Studio 2019 configuration: Release install: -- cmd: >- +- cmd: | appveyor DownloadFile https://dot.net/v1/dotnet-install.ps1 - powershell -NoLogo -NoProfile -File dotnet-install.ps1 -Version 3.0.100 -InstallDir "%ProgramFiles%\dotnet" -Architecture x64 - powershell -NoLogo -NoProfile -File dotnet-install.ps1 -Version 3.0.100 -InstallDir "%ProgramFiles(x86)%\dotnet" -Architecture x86 -before_build: -- cmd: appveyor-retry nuget restore + REM To get an updated EXE URL, go to https://visualstudio.microsoft.com/downloads/ -> Tools for VS -> Build Tools for VS + appveyor DownloadFile https://download.visualstudio.microsoft.com/download/pr/1d102ee6-9263-4353-8676-6430f0cc5998/c0457643c8a80b008250148151a51cb6cc0aa2ccb57316db496628faa9b9a84f/vs_BuildTools.exe + start /wait vs_BuildTools.exe --quiet --wait --norestart --installPath "C:\vsbuildtools" --add Microsoft.VisualStudio.Workload.ManagedDesktopBuildTools --add Microsoft.VisualStudio.Workload.NetCoreBuildTools build_script: -- cmd: build.cmd +- cmd: | + set path=C:\vsbuildtools\MSBuild\Current\Bin\amd64;%path% + build.cmd test: off before_package: -- cmd: msbuild /t:Pack /p:Configuration=Release +- cmd: C:\vsbuildtools\MSBuild\Current\Bin\amd64\msbuild.exe /t:Pack /p:Configuration=Release artifacts: - path: Iced\bin\Release\*.*nupkg name: Iced NuGet Packages