I've now compiled the Library with this script without problems.
(I changed it that the output filename ist: SQLite.Interop.dll
But when I copy it to my ARM based Panel I always get this Exception:
System.DllNotFoundException: SQLite.Interop.dll
at (wrapper managed-to-native)
System.Data.SQLite.UnsafeNativeMethods:sqlite3_config_none
(System.Data.SQLite.SQLiteConfigOpsEnum)
at System.Data.SQLite.SQLite3.StaticIsInitialized () [0x00000] in <filename
unknown>:0
at System.Data.SQLite.SQLiteLog.Initialize () [0x00000] in <filename
unknown>:0
at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString,
Boolean parseViaFramework) [0x00000] in <filename unknown>:0
at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString)
[0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check)
System.Data.SQLite.SQLiteConnection:.ctor (string)
I've also tried to copy the compiled output to sub-folder "arm/"
and I treied to add <add key="PreLoadSQLite_ProcessorArchitecture" value="arm"
/> to my app settings
And I've tried with the System.data.Sqlite.dll from the nuget package, and with
the one from "sqlite-netFx451-binary-Mono-2013-1.0.101.0.zip"! (But if it's
possible I'd like to use the nuget package, because we also use the application
on windows)
Any Idea's?
________________________________________
Von: sqlite-users-bounces at mailinglists.sqlite.org [sqlite-users-bounces at
mailinglists.sqlite.org]" im Auftrag von "Joe Mistachkin [sqlite at
mistachkin.com]
Gesendet: Montag, 25. April 2016 03:26
An: 'SQLite mailing list'
Betreff: Re: [sqlite] Use System.Data.Sqlite in Mono on a ARM based Panel
Jochen Kuehner wrote:
>
> Wich is the right one? (Also
sqlite-netFx451-binary-Mono-2013-1.0.101.0.zip
> from Homepage is looking for interop dlls)
>
That is the right one. The interop DLL is being used because it has special
options to support managed virtual table implementations, etc. To compile
an
interop DLL for Mono, please grab the source code, extract it, and then use
the following script (or something like it):
http://urn.to/r/kJ
--
Joe Mistachkin
_______________________________________________
sqlite-users mailing list
sqlite-users at mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
________________________________
MLOG Logistics GmbH, Sitz: D-74196 Neuenstadt
Registergericht: Amtsgericht Stuttgart HRB 100594
Gesch?ftsf?hrer: Hans-J?rgen Heitzer, Jochen Strau?