From fb7e0588572f978173851827cf3f6873ef5423d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edu=20G=C3=B3mez=20Escandell?= Date: Tue, 19 Sep 2023 13:05:38 +0200 Subject: [PATCH] Set up Msbuild --- .github/workflows/qa-azure.yaml | 2 ++ tools/build/build-appx.ps1 | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/qa-azure.yaml b/.github/workflows/qa-azure.yaml index 8181c243f..2bcc3cfd5 100644 --- a/.github/workflows/qa-azure.yaml +++ b/.github/workflows/qa-azure.yaml @@ -50,6 +50,8 @@ jobs: uses: actions/setup-go@v4 with: go-version-file: "go.work" + - name: Set up MSBuild + uses: microsoft/setup-msbuild@v1.3.1 - name: Set up the certfificate shell: powershell run: | diff --git a/tools/build/build-appx.ps1 b/tools/build/build-appx.ps1 index 910668be1..87cd5c415 100644 --- a/tools/build/build-appx.ps1 +++ b/tools/build/build-appx.ps1 @@ -88,7 +88,11 @@ Push-Location "${PSScriptRoot}\..\.." Update-Certificate -Start-VsDevShell +try { + msbuild.exe --version +} catch { + Start-VsDevShell +} msbuild.exe ` .\msix\msix.sln `