Open andrekoehler opened 3 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
I can repro this issue at Windows platform on the latest 17.12.0 Preview 1.0(8.0.80 & 8.0.61 & 8.0.40). MauiApp22.zip
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
Add this to MainPage.xaml:
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