I've been trying to figure this out lately. It is working on my Windows machine, where I got SQLite from NuGet, but...
When I put System.Data.SQLite.dll
and SQLite.Interop.dll
straight from my Windows machine into Linux server it says that SQLite.Interop.dll
is not found, but I am sure I see it next right to executable.
Then I tried to compile System.Data.SQLite.dll
with /p:UseInteropDll=false
, but with no luck. This time it says that System.Data.SQLite.dll
is not found.
What is this "not found" mystery?
No code changes necessary. You can build it yourself.
apt-get install build-essentials unzip
unzip
and cd Source
, chmod +x
the compile-interop-assembly-release.sh
build shell script, then run it ./compile-interop-assembly-release.sh
. - It'll build an .so
file in the ../bin
directory. .so
file to the directory that has your application in