dotnet / dotnet/wpf

Undo Linker workaround for Trimmed WPF applications when mono/linker#639 is fixed

Open
#1,392 0 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.