From 8a26ca07471cd7ccf1e9b9f74c128e31aefff254 Mon Sep 17 00:00:00 2001 From: Jeremy Sinclair <4016293+snickler@users.noreply.github.com> Date: Wed, 11 Oct 2023 16:11:40 -0400 Subject: [PATCH] [Build][Temp] Try using .NET 7 prior to XAML formatting and then switch to .NET 8 after --- .pipelines/ci/templates/build-powertoys-steps.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.pipelines/ci/templates/build-powertoys-steps.yml b/.pipelines/ci/templates/build-powertoys-steps.yml index af31831e43..7f5f6e2092 100644 --- a/.pipelines/ci/templates/build-powertoys-steps.yml +++ b/.pipelines/ci/templates/build-powertoys-steps.yml @@ -8,11 +8,10 @@ steps: clean: true - task: UseDotNet@2 - displayName: 'Use .NET 8 SDK' + displayName: 'Use .NET 7 SDK' inputs: packageType: sdk - version: '8.x' - includePreviewVersions: true + version: '7.x' - task: PowerShell@2 displayName: Verify XAML formatting @@ -63,6 +62,13 @@ steps: arguments: -solution '$(build.sourcesdirectory)\installer\PowerToysSetup.sln' pwsh: true +- task: UseDotNet@2 + displayName: 'Use .NET 8 SDK' + inputs: + packageType: sdk + version: '8.x' + includePreviewVersions: true + - task: VisualStudioTestPlatformInstaller@1 displayName: Ensure VSTest Platform