-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
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
Native AOT: InvalidCastException when using GridSplitter #612
Comments
@tipa can you try again with the latest WCT 8.2-preview2 build that went out today, and CsWinRT 2.2.0? Thank you! |
Still crashes with WCT 8.2-preview2 & CsWinRT 2.2.0. But adding line resolves it for me: |
@Sergio0694 so since |
This feels like a CsWinRT issue, possibly. cc. @manodasanW |
Talked quick to @manodasanW and seems like it may smell like a C#/WinRT issue. @tipa do you have a small minimal reproduction project of the issue you could zip up? If so, would you mind opening an issue over there, attaching it, and linking back to this one? I did see this GridLength issue over there, but not sure if related, seems different? microsoft/CsWinRT#1417 |
Describe the bug
I'm seeing this crash reported on a device with
Windows 10.0.19045
. I wasn't able to reproduce it locally on a Windows 11 machineI'm using
CommunityToolkit.WinUI.Controls.Sizers 8.2.241112-preview1
in a .NET9 WinUI3 app that is compiled using Native AOTSteps to reproduce
I'm essentially only using a GridSplitter and adjusting Grid.Row and Grid.Column in code
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
2022
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: