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