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.
1 parent 3f64d99 commit e1d4af5Copy full SHA for e1d4af5
utils/build.ps1
@@ -2284,9 +2284,9 @@ if (-not $SkipBuild) {
2284
}
2285
2286
if ($Clean) {
2287
- 10..27 | % { Remove-Item -Force -Recurse "$BinaryCache\$_" -ErrorAction Ignore }
+ 10..[HostComponent].getEnumValues()[-1] | % { Remove-Item -Force -Recurse "$BinaryCache\$_" -ErrorAction Ignore }
2288
foreach ($Arch in $WindowsSDKArchs) {
2289
- 0..3 | % { Remove-Item -Force -Recurse "$BinaryCache\$($Arch.BuildID + $_)" -ErrorAction Ignore }
+ 0..[TargetComponent].getEnumValues()[-1] | % { Remove-Item -Force -Recurse "$BinaryCache\$($Arch.BuildID + $_)" -ErrorAction Ignore }
2290
2291
2292
0 commit comments