Hamburger menu freezing on one view only in Release build

Fred Kozlowski 20 Reputation points

I have a view in my AppShell that works totally fine in the Debug build. When I navigate to that view in the Release build using the hamburger menu, the application freezes on the screen that I was on prior to navigation. I can still use the hamburger menu, but I can't change the view.

I have no errors in either Release or Debug. It appears that the screen I'm navigating to is never loading. OnAppearing and OnNavigatedTo aren't running.

All the other views are working as intended.

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,906 Reputation points Microsoft Vendor


    Thanks for your feedback.

    After testing, this issue is caused by referencing static resources.

    <BoxView HeightRequest="1" Color="{StaticResource CustomGrayDE}" Margin="0,0,0,30" />

    This issue does not occur if the color or the value of the color, e.g. "Red", is used directly instead of the StaticResource.

    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful