We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct style is not applied to ContentDialog when publishing an app with AOT and .NET 9.
TargetFramework
net9.0-windows10.0.19041.0
<PublishAot>true</PublishAot>
await new ContentDialog { XamlRoot = this.Content.XamlRoot, Style = Application.Current.Resources["DefaultContentDialogStyle"] as Style, Title = "Hello", CloseButtonText = "Close", }.ShowAsync();
Properly styled dialog:
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows 11 (24H2): Build 26100
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Correct style is not applied to ContentDialog when publishing an app with AOT and .NET 9.
Steps to reproduce the bug
TargetFramework
tonet9.0-windows10.0.19041.0
in .csproj<PublishAot>true</PublishAot>
to .csprojExpected behavior
Properly styled dialog:
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows version
Windows 11 (24H2): Build 26100
Additional context
No response
The text was updated successfully, but these errors were encountered: