You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Don't suppress trim analysis warnings when linking all assemblies #11246
dotnetAn issue or pull request related to .NETenhancementThe issue or pull request is an enhancementgood first issueThis is a good first issue for someone to start working with our code
dotnet/sdk#16865 adds a property (available in preview4) TrimmerDefaultAction which can be set to link to enable "LinkAll" behavior. Consider not suppressing trim analysis warnings in this case to warn users about possible issues.
This can be done by setting the following in some targets that are imported after the project file but before the .NET illink targets (so that it takes into account any user-set value for TrimmerDefaultAction):
<SuppressTrimAnalysisWarningsCondition="'$(SuppressTrimAnalysisWarnings)' == '' And '$(TrimmerDefaultAction)' != 'link'">true</SuppressTrimAnalysisWarnings>
dotnetAn issue or pull request related to .NETenhancementThe issue or pull request is an enhancementgood first issueThis is a good first issue for someone to start working with our code
Activity
marek-safar commentedon Apr 20, 2021
/cc @spouliot
[dotnet][tvos] Enable ICU (instead of using Invariant) and additional…
[dotnet][tvos] Enable ICU (instead of using Invariant) and additional…
2 remaining items
[dotnet] Stop suppressing trim analysis warnings. Fixes #11246.
rolfbjarne commentedon Oct 1, 2024
We've implemented this for .NET 9.