|
15 | 15 | - schemas/JSON/manifests/* |
16 | 16 |
|
17 | 17 | pool: |
18 | | - vmImage: 'windows-latest' |
| 18 | + vmImage: 'windows-2025' |
19 | 19 |
|
20 | 20 | variables: |
21 | 21 | solution: 'src\AppInstallerCLI.sln' |
@@ -186,7 +186,7 @@ jobs: |
186 | 186 | Microsoft.Management.Deployment\Microsoft.Management.Deployment.winmd |
187 | 187 | WindowsPackageManager\WindowsPackageManager.dll |
188 | 188 | UndockedRegFreeWinRT\winrtact.dll |
189 | | - TargetFolder: $(buildOutDirAnyCpu)\PowerShell\Microsoft.WinGet.Client\net8.0-windows10.0.22000.0\SharedDependencies\$(BuildPlatform) |
| 189 | + TargetFolder: $(buildOutDirAnyCpu)\PowerShell\Microsoft.WinGet.Client\net8.0-windows10.0.26100.0\SharedDependencies\$(BuildPlatform) |
190 | 190 | flattenFolders: true |
191 | 191 |
|
192 | 192 | - task: CopyFiles@2 |
@@ -215,7 +215,7 @@ jobs: |
215 | 215 | inputs: |
216 | 216 | SourceFolder: $(buildOutDirAnyCpu) |
217 | 217 | Contents: | |
218 | | - Microsoft.Management.Configuration.Projection\net8.0-windows10.0.22000.0\Microsoft.Management.Configuration.Projection.dll |
| 218 | + Microsoft.Management.Configuration.Projection\net8.0-windows10.0.26100.0\Microsoft.Management.Configuration.Projection.dll |
219 | 219 | TargetFolder: $(buildOutDirAnyCpu)\PowerShell\Microsoft.WinGet.Configuration\SharedDependencies\$(BuildPlatform) |
220 | 220 | flattenFolders: true |
221 | 221 |
|
@@ -351,21 +351,15 @@ jobs: |
351 | 351 | inputs: |
352 | 352 | packageFeedSelector: 'nugetOrg' |
353 | 353 |
|
354 | | - # TODO: Repair-WinGetPackageManager will fail because it tries to install x64 for an x86 build machine. |
355 | | - # Remove manual installation of VCLibs (x64) once this is fixed. |
356 | 354 | - powershell: | |
357 | | - if ("$(buildPlatform)" -eq "x86") { |
358 | | - iwr https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.appx |
359 | | - Add-AppxPackage Microsoft.VCLibs.x64.appx |
360 | | - } |
361 | 355 | Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force |
362 | 356 | Install-Module Microsoft.WinGet.Client -Repository PSGallery -Force |
363 | 357 | Repair-WingetPackageManager -AllUsers -Latest |
364 | 358 | Install-WinGetPackage -Id Microsoft.Sysinternals.PsTools -Source winget |
365 | 359 | displayName: Install Sysinternals PsTools Using Winget |
366 | 360 | condition: succeededOrFailed() |
367 | 361 |
|
368 | | - - powershell: | |
| 362 | + - pwsh: | |
369 | 363 | $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") |
370 | 364 | PsExec -accepteula -s -i $(buildOutDir)\AppInstallerCLITests\AppInstallerCLITests.exe -logto $(artifactsDir)\AICLI-Unpackaged-System.log -s -r junit -o $(artifactsDir)\TEST-AppInstallerCLI-Unpackaged-System.xml |
371 | 365 | displayName: Run Unit Tests Unpackaged Under System Context |
|
0 commit comments