Frage

I need an Application object of my MonoGame project (Visual Studio Pro 2012) to install exception handler, but I can't find App.xaml and corresponding App.xaml.cs, although have no problems with it in Windows Phone 8 Monogame application. Tried to use Application.Current (like in WP) but get Unrecoverable Exception. Discouraged.

If I create an empty xaml app for Windows Store I see App.xaml. Please tell me what's the mistery in monogame app?

War es hilfreich?

Lösung

I think I know what's going on. When create Monogame app for Windows Store I should use "Monogame Windows Store (XAML)" template instead of "Monogame Windows Store".

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top