<StackReserveSize Condition="$(Configuration) == 'Debug'">12000000</StackReserveSize>
<StackReserveSize Condition="$(Configuration) == 'PGInstrument'">12000000</StackReserveSize>
<!-- HACK: Need additional memory to avoid crashing until gh-113655 is fixed -->
- <StackReserveSize Condition="$(Configuration) == 'PGUpdate'">3000000</StackReserveSize>
+ <StackReserveSize Condition="$(Configuration) == 'PGUpdate' and $(UseExtraStackReserve) == 'true'">3000000</StackReserveSize>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<StackReserveSize Condition="$(Configuration) == 'Debug'">12000000</StackReserveSize>
<StackReserveSize Condition="$(Configuration) == 'PGInstrument'">12000000</StackReserveSize>
<!-- HACK: Need additional memory to avoid crashing until gh-113655 is fixed -->
- <StackReserveSize Condition="$(Configuration) == 'PGUpdate'">3000000</StackReserveSize>
+ <StackReserveSize Condition="$(Configuration) == 'PGUpdate' and $(UseExtraStackReserve) == 'true'">3000000</StackReserveSize>
</Link>
</ItemDefinitionGroup>
<ItemGroup>