You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest updates to WinAppSDK 1.6 with AoT, we're seeing an exception coming from the WASDK build of our gallery for components using a generated options pane.
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at ABI.Microsoft.UI.Xaml.Controls.IItemsControlMethods.set_ItemsSource(IObjectReference _obj, Object value)
at Microsoft.UI.Xaml.Controls.ItemsControl.set_ItemsSource(Object value)
at CommunityToolkit.App.Shared.Renderers.GeneratedSampleOptionsRenderer.XamlBindingSetters.Set_Microsoft_UI_Xaml_Controls_ItemsControl_ItemsSource(ItemsControl obj, Object value, String targetNullValue) in /_/ProjectHeads/AllComponents/Wasdk/obj/x64/Debug/net8.0-windows10.0.22621.0/win-x64/Renderers/GeneratedSampleOptionsRenderer.g.cs:line 27
at CommunityToolkit.App.Shared.Renderers.GeneratedSampleOptionsRenderer.GeneratedSampleOptionsRenderer_obj1_Bindings.Update_SampleOptions(IEnumerable`1 obj, Int32 phase) in /_/ProjectHeads/AllComponents/Wasdk/obj/x64/Debug/net8.0-windows10.0.22621.0/win-x64/Renderers/GeneratedSampleOptionsRenderer.g.cs:line 2011
at CommunityToolkit.App.Shared.Renderers.GeneratedSampleOptionsRenderer.GeneratedSampleOptionsRenderer_obj1_Bindings.Update_(GeneratedSampleOptionsRenderer obj, Int32 phase) in /_/ProjectHeads/AllComponents/Wasdk/obj/x64/Debug/net8.0-windows10.0.22621.0/win-x64/Renderers/GeneratedSampleOptionsRenderer.g.cs:line 2000
at CommunityToolkit.App.Shared.Renderers.GeneratedSampleOptionsRenderer.GeneratedSampleOptionsRenderer_obj1_Bindings.Update() in /_/ProjectHeads/AllComponents/Wasdk/obj/x64/Debug/net8.0-windows10.0.22621.0/win-x64/Renderers/GeneratedSampleOptionsRenderer.g.cs:line 1956
at CommunityToolkit.App.Shared.Renderers.GeneratedSampleOptionsRenderer.GeneratedSampleOptionsRenderer_obj1_Bindings.Initialize() in /_/ProjectHeads/AllComponents/Wasdk/obj/x64/Debug/net8.0-windows10.0.22621.0/win-x64/Renderers/GeneratedSampleOptionsRenderer.g.cs:line 1950
at CommunityToolkit.App.Shared.Renderers.GeneratedSampleOptionsRenderer.GeneratedSampleOptionsRenderer_obj1_Bindings.Loading(FrameworkElement src, Object data) in /_/ProjectHeads/AllComponents/Wasdk/obj/x64/Debug/net8.0-windows10.0.22621.0/win-x64/Renderers/GeneratedSampleOptionsRenderer.g.cs:line 1989
at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_global__Microsoft_UI_Xaml_FrameworkElement__object_.EventState.<GetEventInvoke>b__1_0(FrameworkElement sender, Object args)
at WinRT.GenericTypeInstantiations.Windows_Foundation_TypedEventHandler_2_Microsoft_UI_Xaml_FrameworkElement__object.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr args)
Steps to reproduce
1. Clone the toolkit repo
2. Generate and open the wasdk solution: `./tooling/GenerateAllSolution.ps1 -winui 3 -heads wasdk -multitargets wasdk`
3. Build and deploy the gallery CommunityToolkit.App.Wasdk
4. Navigate to a component that uses generated sample options, such as SettingsControl.
Expected behavior
No crash.
Screenshots
No response
Code Platform
UWP
WinAppSDK / WinUI 3
Web Assembly (WASM)
Android
iOS
MacOS
Linux / GTK
Windows Build Number
Windows 10 1809 (Build 17763)
Windows 10 1903 (Build 18362)
Windows 10 1909 (Build 18363)
Windows 10 2004 (Build 19041)
Windows 10 20H2 (Build 19042)
Windows 10 21H1 (Build 19043)
Windows 11 21H2 (Build 22000)
Other (specify)
Other Windows Build number
No response
App minimum and target SDK version
Windows 10, version 1809 (Build 17763)
Windows 10, version 1903 (Build 18362)
Windows 10, version 1909 (Build 18363)
Windows 10, version 2004 (Build 19041)
Other (specify)
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item.
The text was updated successfully, but these errors were encountered:
Describe the bug
With the latest updates to WinAppSDK 1.6 with AoT, we're seeing an exception coming from the WASDK build of our gallery for components using a generated options pane.
Steps to reproduce
Expected behavior
No crash.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item.
The text was updated successfully, but these errors were encountered: