Skip to content

Commit

Permalink
Set $(TrimmerSingleWarn)=false
Browse files Browse the repository at this point in the history
We want a better warning than:

    warning IL2104: Assembly 'Java.Interop' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries
  • Loading branch information
jonathanpeppers committed Mar 13, 2024
1 parent 46df03f commit 6aa5512
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
<TrimMode Condition="'$(TrimMode)' == ''">partial</TrimMode>
<SuppressTrimAnalysisWarnings Condition=" '$(SuppressTrimAnalysisWarnings)' == '' and '$(TrimMode)' == 'full' ">false</SuppressTrimAnalysisWarnings>
<SuppressTrimAnalysisWarnings Condition=" '$(SuppressTrimAnalysisWarnings)' == '' ">true</SuppressTrimAnalysisWarnings>
<TrimmerSingleWarn Condition=" '$(TrimmerSingleWarn)' == '' and '$(SuppressTrimAnalysisWarnings)' != 'true' ">false</TrimmerSingleWarn>
<!-- Prefer $(RuntimeIdentifiers) plural -->
<RuntimeIdentifiers Condition=" '$(RuntimeIdentifier)' == '' And '$(RuntimeIdentifiers)' == '' ">android-arm;android-arm64;android-x86;android-x64</RuntimeIdentifiers>
<RuntimeIdentifier Condition=" '$(RuntimeIdentifiers)' != '' And '$(RuntimeIdentifier)' != '' " />
Expand Down

0 comments on commit 6aa5512

Please sign in to comment.