Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Accessing Guide throws TypeInitalizationException

$
0
0

@Sephnroth wrote:

Hi all,

porting an old XNA WP7 game to WP8.1+ using mono with intent to bring to iOS and droid later on. Finally got most of the kinks out but it seems whenever I try to access Guide I get a TypeInitalizationException.

For example Guide.IsTrialMode and Guide.BeginShowKeyboardInput both throw it.

The monogame I downloaded didnt have gamerservices included in my new project by default for some reason so I had to add the Monogame.Framework.Net library reference myself to get access, I pulled it from MonoGame/v3.0/Assemblies/WindowsPhone81/ folder. I have not been able to find any information saying I should manually initialise it myself.

Any idea whats up? Thanks :slightly_smiling:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles