I've been "playing around" with SQLite for WinForm applications for some time, and "for the fun of it" (to learn more about CF) I decided to write a small program for meassuring Fuel-Consumption, that I can install into my phone (running Windows Mobile). As of now I've not yet tried to install it on the phone, but am currently only using the Pocket PC emulator in Visual Studio 2008 (simply trying to debug my program via the Emulator).
My problem is a soon as I try to execute Conn.Open(); I get the error message "Can't find PInvoke DLL 'SQLite.Interop.060.dll'. I have added System.Data.SQLite (Path = "C:\Program Files (x86)\SQLite.NET\bin\CompactFramework\System.Data.SQLite.dll") to the references of my application. Since the error message mention SQLite.Interop.060.DLL I've tryed to add this file to the references as well, howerver as soon as I does I'm told that: "A reference so 'SQLite.Interop.060.DLL' could not be added.".
I'm most likely missing some tiny detail, so any pointer in the right direction will be appreciated.
Pelle