I'm trying to make a library for my windows universal app but no matter what I cannot get SQLite to work in my Portable Class Library so I can use the same code for windows 8.1/windows phone 8.1. I tried this code:
var data = await database.CreateTableAsync<MyData>(CreateFlags.None);
but I get this exception but I don't understand how to fix this.
A first chance exception of type 'System.Exception' occurred in mscorlib.ni.dll
Additional information: Something went wrong in the build configuration. This is the bait assembly, which is for referencing by portable libraries, and should never end up part of the app. Reference the appropriate platform assembly instead.
http://ift.tt/N2Zw7h Has anyone used this library that could guide me in this matter?
Aucun commentaire:
Enregistrer un commentaire