[Build][Temp] Try using .NET 7 prior to XAML formatting and then switch to .NET 8 after

This commit is contained in:
Jeremy Sinclair 2023-10-11 16:11:40 -04:00
parent 2a7b4929ad
commit 8a26ca0747

View File

@ -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