I have a problem concerning the Windows.Ui.Popups.MessageDialog.
I am developing a Windows Phone 8.1 App using the Prism framework with Unity and Visual Studio 2013 Community. When I try to show a simple MessageDialog from the ViewModel with code like this:
var msgDialog = new Windows.Ui.Popups.MessageDialog("Content");
msgDialog.Title = "Title";
var result = await msgDialog.ShowAsync();
nothing happens, no dialog, no output, no error, no exception, nothing. Same problem occurs when I try to show a MessageDialog from the views code behind file.
It seems that the app simply ignores this lines of code. Otherwise the app works perfectly.
Can anybody help?