Exception thrown at 0x75DAA6F2 in TestRealm.exe: Microsoft C++ exception: EEMessageException at memory location 0x012FDD88.
Exception thrown: ‘System.TypeInitializationException’ in Realm.dll
The type initializer for ‘Realms.SharedRealmHandle’ threw an exception.
I got this exception with my project ( WPF + Windows Application Packaging Project) when I called var realm = Realm.GetInstance();
I was able to repro this - looks like it’s something related to the way WAP bundles native libraries. We’ll investigate this but in the meantime, you should be able to set TestRealm as your Startup Project and run it directly.