Akavache
Akavache copied to clipboard
UWP - MissingInteropDataException when compiling with .NET Native
I'm having the next exception when enable Compile with .NET Native tool chain, when I insert a object . the version is 5.0
An exception of type 'System.Runtime.InteropServices.MissingInteropDataException' occurred in System.Private.CoreLib.dll but was not handled in user code
Additional information: ComTypeMarshalling_MissingInteropData
If there is a handler for this exception, the program may be safely continued.
I just use 'akavache.core':'5.0.0' , this trouble is solved.
I just use 'akavache.core':'5.0.0' , this trouble is solved.
@wuqi713 shall I close this then?
@shiftkey yes thanks.
sorry when i only use 'akavache.core':'5.0.0' is data no persistence,must have 'akavache.sqlite3' . if have this . the uwp is crash when Compile with .NET Native tool chain
@wuqi713 can you please clarify the steps to reproduce this issue? It's not clear to me what you have installed and how to trigger the error...
sorry later to replay
- neget add dependencies
"dependencies": {
"Splat": "1.6.2",
"SQLitePCL.raw_basic": "0.8.6",
"akavache.core": "4.1.2",
"akavache.sqlite3": "4.1.2",
"Microsoft.NETCore.UniversalWindowsPlatform": "5.1.0"
}
- reference vc++ 2015
- init database
BlobCache.ApplicationName = "Test";
await BlobCache.Secure.InsertObject("dummy", "dummy");
- change project to release and enable Compile with .NET Native tool chain
- just crash like this
An exception of type 'System.Runtime.InteropServices.MissingInteropDataException' occurred in System.Private.CoreLib.dll but was not handled in user code
Additional information: ComTypeMarshalling_MissingInteropData
If there is a handler for this exception, the program may be safely continued
Same thing is happening to me whenever I use BlobCache.Secure location in UWP after native compilation (it's not happening in Debug)