We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd4827f + e1d4af5 commit fdc1d2fCopy full SHA for fdc1d2f
utils/build.ps1
@@ -2299,9 +2299,9 @@ if (-not $SkipBuild) {
2299
}
2300
2301
if ($Clean) {
2302
- 10..27 | % { Remove-Item -Force -Recurse "$BinaryCache\$_" -ErrorAction Ignore }
+ 10..[HostComponent].getEnumValues()[-1] | % { Remove-Item -Force -Recurse "$BinaryCache\$_" -ErrorAction Ignore }
2303
foreach ($Arch in $WindowsSDKArchs) {
2304
- 0..3 | % { Remove-Item -Force -Recurse "$BinaryCache\$($Arch.BuildID + $_)" -ErrorAction Ignore }
+ 0..[TargetComponent].getEnumValues()[-1] | % { Remove-Item -Force -Recurse "$BinaryCache\$($Arch.BuildID + $_)" -ErrorAction Ignore }
2305
2306
2307
0 commit comments