Skip to content

Commit eba5bea

Browse files
author
Satwik Kumar Sharma
committed
adding windowsSdk 22000 build
1 parent 3f58544 commit eba5bea

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.pipelines/winui3-ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ steps:
3232
script: |
3333
choco install windows-sdk-10-version-1809-all
3434
35+
$winget = (Get-Command winget -ErrorAction SilentlyContinue)
36+
if (-not $winget) {
37+
Write-Host 'winget not found. Installing App Installer (DesktopAppInstaller) silently...'
38+
39+
Invoke-WebRequest -Uri "https://aka.ms/getwinget" -OutFile "$env:Temp\AppInstaller.msixbundle"
40+
Add-AppxPackage -Path "$env:Temp\AppInstaller.msixbundle"
41+
}
42+
43+
winget install --id Microsoft.WindowsSDK.10.0.22000 -e --silent --accept-package-agreements --accept-source-agreements
44+
3545
- task: UseDotNet@2
3646
displayName: 'Use .NET Core sdk 8.x'
3747
inputs:

0 commit comments

Comments
 (0)