mercredi 7 janvier 2015

Mono on OSX and VS2008 SQLite.Interop.dll not found

I am having problems running a .NET test app that needs to be developed on VS2008 and then ported to run on MAC OSX using MONO.


My basic app works fine and runs under MONO on OSX. Then I added the use of System.Data.SQLite and a local database. Once the database was added, I get an errors on the OSX Terminal window that complain of "System.DLLNotFoundException: SQLite.Interop.dll". This app with the database compiles and runs fine on Windows.


Background: My app is a forms app, anyCPU, VS2008, C#, framework 3.5. My Windows machine has Mono 3.2.3 installed. My Windows machine has System.Data.SQLite.dll.. v3.8.6 installed using mixed mode binaries downloaded from system.data.sqlite.com for 32 bit, Framework 3.5.


The target OSX machine is MAC book pro, OSX 10.7.5. The target OSX machine has Mono v3.10.0 installed. My app is stored in a folder under Documents on the target which I simple copy the EXE and System.Data.SQLite.dll, System.Data.SQLite.Linq.dll, and SQLite.Interop.dll.


ONline I have read lots of conversations, but some are quite old and changes are constant. I am confused if I should be using System.Data.SQLite or a Mono.Data.SQLite DLL's but I really would like to use the System.Data.SQLite so that the app code can be as common as possible.


Thanks in advance Ron Follmer


Aucun commentaire:

Enregistrer un commentaire