Skip to content

Commit

Permalink
WPF trimming incompatibility is not .NET 6 specific (dotnet#37110)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotas authored and IEvangelist committed Oct 2, 2023
1 parent be39fa8 commit 0361455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/core/deploying/trimming/incompatibilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Automatic [COM marshalling](../../../standard/native-interop/cominterop.md) has

## WPF

The Windows Presentation Foundation (WPF) framework makes substantial use of reflection and some features are heavily reliant on run-time code inspection. In .NET 6, it's not possible for trimming analysis to preserve all necessary code for WPF applications. Unfortunately, almost no WPF apps are runnable after trimming, so trimming support for WPF is currently disabled in the .NET SDK. See [WPF is not trim-compatible](https://github.com/dotnet/wpf/issues/3811) issue for progress on enabling trimming for WPF.
The Windows Presentation Foundation (WPF) framework makes substantial use of reflection and some features are heavily reliant on run-time code inspection. It's not possible for trimming analysis to preserve all necessary code for WPF applications. Unfortunately, almost no WPF apps are runnable after trimming, so trimming support for WPF is currently disabled in the .NET SDK. See [WPF is not trim-compatible](https://github.com/dotnet/wpf/issues/3811) issue for progress on enabling trimming for WPF.

## Windows Forms

Expand Down

0 comments on commit 0361455

Please sign in to comment.