문제

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