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?

有帮助吗?

解决方案

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".

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top