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
As mentioned in dotnet/winforms#2426, the self-contained publish output of a WinForms app will include WPF assemblies.
If this issue isn't solved on the SDK/winforms side, we should consider whether the linker can help trim those unused references. The sample shared in that issue has a publish profile with PublishTrimmed but the WPF assemblies were still kept - which makes sense given that the 3.0 defaults for the linker keep everything outside of netcoreapp.
If that gets solved on the SDK side, we can probably just close this.
The text was updated successfully, but these errors were encountered:
I think it's better to track this on the winforms side: dotnet/winforms#3723
If there's a specific ask on linker as part of the bigger solution, then it should be created as a separate issue.
As mentioned in dotnet/winforms#2426, the self-contained publish output of a WinForms app will include WPF assemblies.
If this issue isn't solved on the SDK/winforms side, we should consider whether the linker can help trim those unused references. The sample shared in that issue has a publish profile with
PublishTrimmed
but the WPF assemblies were still kept - which makes sense given that the 3.0 defaults for the linker keep everything outside of netcoreapp.If that gets solved on the SDK side, we can probably just close this.
The text was updated successfully, but these errors were encountered: