From 29d390782c612ebc7b2474f3eb2b99479f228499 Mon Sep 17 00:00:00 2001 From: softdev90 Date: Tue, 25 Jan 2022 07:31:03 +0000 Subject: [PATCH] Merged PR 231657: [Csharp SDK] Build with latest Windows version and VS 2019 https://github.com/actions/virtual-environments/issues/4312 --- .pipelines/pipeline.user.windows.yml | 11 ++++------- scripts/init-dev-cmd.cmd | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.pipelines/pipeline.user.windows.yml b/.pipelines/pipeline.user.windows.yml index 9ed2d16..0daa24b 100644 --- a/.pipelines/pipeline.user.windows.yml +++ b/.pipelines/pipeline.user.windows.yml @@ -1,13 +1,10 @@ environment: host: - os: 'windows' - flavor: 'server' - version: '2016' + os: "windows" runtime: - provider: 'appcontainer' - - image: 'cdpxwin1809.azurecr.io/global/vse2017:latest' - source_mode: 'map' + provider: "appcontainer" + image: "cdpxwin1809.azurecr.io/global/vse2019:latest" + source_mode: "map" signing_options: profile: 'external_distribution' diff --git a/scripts/init-dev-cmd.cmd b/scripts/init-dev-cmd.cmd index e699fdd..2c6eb61 100644 --- a/scripts/init-dev-cmd.cmd +++ b/scripts/init-dev-cmd.cmd @@ -4,7 +4,7 @@ echo "Initialize VS 2017 Dev Cmd ..." echo ================================================== pushd "%~dp0" -call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 +call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 set EX=%ERRORLEVEL% if "%EX%" neq "0" (