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
Exploring the trim warnings from the TrimTest project shows the following where having a feature switch could help:
Separate design time (where trimming is not required) and runtime experiences. Design time experience should be able to leverage trim incompatible capabilities like reflection and the publishing experience for trimmed applications should not generate trim warnings for the code that is only leveraged only at design time.
The vast majority of the trim warnings are actually not hit by simple WinForms applications like the TrimTest project. Code hitting trim warnings that is not currently tracked by Epic - Make WinForms trim compatible #4649 could be refactored such that setting the feature switch would remove these code paths. The current set of feature switch values are as below
Trimming WinForms will require a feature switch to be used similar to other feature switches when trimming WinForms applications.
Exploring the trim warnings from the TrimTest project shows the following where having a feature switch could help:
Default_Trimmed_Warnings_wpf_attributes_excluded_ComponentModel_ICustomTypeDescriptor.txt
property
is set to false).The text was updated successfully, but these errors were encountered: