Maui DisplayAlert does not show

Lloyd Sheen 1,476 Reputation points
2023-07-14T13:06:35.6566667+00:00

I have an app that only runs in Debug, that is executes from VS only. On the emulator and my phone the app just closes. So I added several DisplayAlerts to try and figure out where the problem is. But this just adds to the problem as DisplayAlert does nothing. I can debug and put breakpoint on the DisplayAlert lines and they "execute" but do nothing. Any ideas?

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