Application works in Debug build but crashes in Release build when binding ImmutableArray to ItemsSource with x:Static #24384
Labels
area-xaml
XAML, CSS, Triggers, Behaviors
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Description
The application works in Debug build but crashes in Release build as soon as navigating to the XAML that uses x:Static to bind Picker.ItemsSource to an ImmutableArray.
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.61 SR6.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows, I was not able test on other platforms
Affected platform versions
net8.0-windows10.0.19041.0
Did you find any workaround?
Do not use a static property with x:Static, instead use a non-static property with Binding.
Relevant log output
The text was updated successfully, but these errors were encountered: