Undo Linker workaround for Trimmed WPF applications when mono/linker#639 is fixed
Open
Bug
issue-type-tracking-external
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
As part of a fix for #1385, we introduced a workaround in WPF - in PresentationCore and ReachFramework, to assist the linker ensure that dependencies required by DirectWriteForwarder and System.Printing are included in trimmed images.
When [Linker removes data from "copy" assemblies; mono/linker#639](https://github.com/mono/linker/issues/639) gets fixed, the linker can directly analyze DirectWriteForwarder and System.Printing again, at which point we can revert the workaround added by #1387.
Related: https://github.com/mono/linker/issues/676 (Linker isn't able to process C++/CLI assemblies)
Contributor guide
Assessment
This issue has not been assessed yet.