Open
Description
Describe the bug
as the title suggests, I used Window.Content as FrameworkElement to change the program theme. I found that it couldn't be changed in the case of AOT. I haven't observed the detailed situation carefully yet
Steps to reproduce the bug
- Create App
- Write switch theme code
- Publish AOT
- Run
Expected behavior
No response
Screenshots
No response
NuGet package version
Windows App SDK 1.7.1: 1.7.250401001
Packaging type
Packaged (MSIX), Unpackaged
Windows version
Windows 11 version 24H2 (22621, October 2024 Update)
IDE
Visual Studio 2022-preview
Additional context
No response