System.Data.SQLite missing?

242 views
Skip to first unread message

Bobson

unread,
Oct 10, 2012, 11:26:00 PM10/10/12
to catnap-or...@googlegroups.com
I'm trying to get a MonoMac project to run, using Catnap as my ORM, but no matter what I try, I get one of these two exceptions:

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. The system cannot find the file specified.

or 

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: System.Data.SQLite.dll 

I've tried including a reference to System.Data.SQLite.dll.  I've tried referencing Mono.Data.Sqlite instead. I've tried .config files.  I've tried copying the .dylib into the build folder.  I've tried copying the .dll into the build folder.  I've tried various combinations of all the above...  Nothing.

Can anyone help me get this working?

Tim Scott

unread,
Oct 13, 2012, 5:30:37 PM10/13/12
to catnap-or...@googlegroups.com
You probably need to do like this https://github.com/timscott/catnap/wiki/Using-Catnap-With-MonoTouch and reference Mono.Data.SQLite.dll.

Tim
Reply all
Reply to author
Forward
0 new messages