Why does zindex crash the release version but not debug?

Phunction 301 Reputation points
2023-02-11T00:16:31.4966667+00:00

Is this a bug being worked on? If I have any zindex in my XAML, the app will just crash away when trying to run in release mode, but when run in debug mode it works fine? Is there something I am missing in compile options to make it work?

Developer technologies .NET .NET MAUI
Developer technologies C#
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
    2023-02-20T02:17:01.2066667+00:00

    Hello,

    Thanks for your feedback.

    Based on the current situation, you could use this solution in your project now, and post your issue on GitHub maui-issues to make our product group aware of it.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.