Microsoft C++ exception: Platform::ClassNotRegisteredException ^

Jul 30, 2014 at 11:13 AM
Edited Jul 30, 2014 at 11:16 AM
Hi,

I am trying to build a Windows Phone Direct3D App (Native Only)

This targets WP8.0, not WP8.1

I have added the reference to the .winmd file under Common Properties > Framework and References > Add New Reference... by using Browse... to the standart install location
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\GoogleAnalytics.Native.SDK.Win80\1.2\References\CommonConfiguration\neutral
When i build this to the device the dll is not included so i recieve the error
Microsoft C++ exception: Platform::ClassNotRegisteredException ^
I believe the dll i want is the one located here
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\GoogleAnalytics.Native.SDK.Win80\1.2\Redist\CommonConfiguration\ARM
But i do not know how to get it to include this in the packaging phase

Any help with this would be very much appreciated

Thanks
Coordinator
Jul 30, 2014 at 3:25 PM
Instead of browsing for the file, add a reference by:
1) right clicking on your project and choosing Add >> References...
2) choose "Add new reference..." at the bottom of that page.
3) select the Windows Phone 8.1 >> Extensions node on the left.
4) check "Google Analytics SDK" in the list and click OK.
Jul 30, 2014 at 5:24 PM
I couldnt see the extension in the list under Windows Phone, either core or extensions

This is in VS2012 with a WP8.0 project

Is this not compatible with this version?

Thanks