diff --git a/tests/AheadOfTime/Trimming/check.ps1 b/tests/AheadOfTime/Trimming/check.ps1 index 7c27ec37172..add84fdd2df 100644 --- a/tests/AheadOfTime/Trimming/check.ps1 +++ b/tests/AheadOfTime/Trimming/check.ps1 @@ -39,7 +39,7 @@ function CheckTrim($root, $tfm, $outputfile, $expected_len) { # NOTE: Trimming now errors out on desktop TFMs, as shown below: # error NETSDK1124: Trimming assemblies requires .NET Core 3.0 or higher. - +$compressAllMetadata = $env:_kind -eq "-compressAllMetadata" $expectedForSelfContained = if ($compressAllMetadata) {300032} else {288256} # Check net7.0 trimmed assemblies