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?