Cannot run on emulator.?!

Monkey Targets Forums/Windows 8/Cannot run on emulator.?!

SLotman(Posted 2015) [#1]
I can run Monkey programs on my device from VS2012 with no problems, but when I try to run then in the emulator, I get a "ClassNotRegistered Exception":

Unhandled exception at at 0x776E277C in TaskHost.exe: Microsoft C++ exception: Platform::ClassNotRegisteredException ^ at memory location 0x01BBF81C. HRESULT:0x80040154


On both of this lines (happens in the first, I hit "Continue" and it happens in the second):
	DXASS( XAudio2Create( &xaudio2,0,XAUDIO2_DEFAULT_PROCESSOR ) );
	DXASS( xaudio2->CreateMasteringVoice( &masterVoice ) );


And it won't run anything. I even tried to put a "try...catch" on those statements, to no avail :(

I'm on Windows 8 (not 8.1), VS2012, WP SDK 8.

I remember being able to run code in the emulator, so I don't know what's going on... and can't find anything on Google about this problem :/

Have anyone experienced something like this? Have any insights?