Open munkii 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.
@grendello @jonathanpeppers This may be dotnet/runtime
but I'll let you decide.
Yep, it's MonoVM. @jonathanpeppers could you transfer it to the runtime? Thanks :)
Description
When building in Release mode the app would not build.
The issue is our XAML. Note the syntax in the XAML that is using an array index!
Steps to Reproduce
App works fine in Debug mode but switching to Release and trying to Build will fail. I have a workaround and to be fair the workaround" is better than the nastiness I was doing previously. I only raise this issue as it is a bug even if what I am doing is wrong
Link to public reproduction project repository
No response
Version with bug
8.0.80 SR8
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android
Did you find any workaround?
Switch from using an array index in the BindingContext
BindingContext="{Binding Categories[1]}"
To
BindingContext="{Binding NewsCategory}"
Relevant log output