Please help. I am using a WinUI 3 Unpackaged app WindowsAppSDK 1.1 Preview 2
Please help. I am using a WinUI 3 Unpackaged app WindowsAppSDK 1.1 Preview 2
Could you please show a minimal, reproducible sample without private information?
I actually found out the error in my MainWindow.xaml file.
This error can happen if there is a bug in MainWindow.xaml not detected by the XAML compiler
For example, if I set a wrong resource, like
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush2}">
instead of
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
I get this error
5 people are following this question.