Skip to content

Commit

Permalink
Set PublishTrimmed in NativeAOT targets (#87304)
Browse files Browse the repository at this point in the history
Looks like this is still needed. Fixes #87303.
  • Loading branch information
MichalStrehovsky authored Jun 9, 2023
1 parent a7094a5 commit 742f0a8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The .NET Foundation licenses this file to you under the MIT license.
<NativeDebugSymbols Condition="$(DebugSymbols) == 'true' or ($(DebugType) != 'none' and $(DebugType) != '')">true</NativeDebugSymbols>
<!-- Workaround for https://github.com/dotnet/runtimelab/issues/771 -->
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
<PublishTrimmed Condition="'$(PublishTrimmed)' == ''">true</PublishTrimmed>
<IlcPgoOptimize Condition="'$(IlcPgoOptimize)' == '' and '$(OptimizationPreference)' == 'Speed'">true</IlcPgoOptimize>
<RunILLink>false</RunILLink>
<_IsiOSLikePlatform Condition="'$(_targetOS)' == 'maccatalyst' or $(_targetOS.StartsWith('ios')) or $(_targetOS.StartsWith('tvos'))">true</_IsiOSLikePlatform>
Expand Down

0 comments on commit 742f0a8

Please sign in to comment.