Closed vilgotf closed 18 hours ago
@vilgotf 8.1 was built against 1.5 and hasn't been tested against AOT scenarios yet. You'll at least want the 1.6 bits on our preview feeds: https://aka.ms/wct/wiki/previewpackages
See https://github.com/CommunityToolkit/Tooling-Windows-Submodule/issues/205
I am seeing SettingsControls failing to parse XAML when under AOT. Is there a timeline to update this control to be AOT compatible?
WindowsAppSDK 1.6.241114003
CommunityToolkit.WinUI.Controls.SettingsControls 8.1.240916
@vilgotf @TheJoeFin I'm going to close this one out as it was specifically about 8.1 which is NOT AOT compatible (as I mentioned above); 8.2 will be the first version that's AOT compatible with WASDK 1.6. There was another issue filed, where I commented that I have not seen an issue with it working there. https://github.com/CommunityToolkit/Windows/issues/568#issuecomment-2498695680
Please check your versions and try the latest preview to see if that works for you, thank you!
Describe the bug
The app crashes during initialization.
Running under WinDbg reveales that the stowed exception is
0x80040154
(REGDB_E_CLASSNOTREG
) with the following stack trace:Steps to reproduce
Expected behavior
There are no trim warnings, app does not crash on startup.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
Windows 11 23H2
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
17.11.35222.181
Device form factor
Desktop
Additional context
Discovered this issue when trying to enable NativeAOT for my project, which seems to be blocked by this issue.
Although I'm unable to reproduce the behaviour in my MRE, my original project is able to render the expander, but throws the following exception when expanding it:
Help us help you
Yes, but only if others can assist.