There are many options:
We need to install the dependencies (Binn and nanomsg), replace the the SQLite code and then compile the module. Here are the steps:
1. Download the pre-compiled binaries, or compile Binn and nanomsg
2. Copy binn-1.0.dll and nanomsg.dll to the Windows\SystemWOW64 or Windows\System32 folder
3. Copy the files in the include folder to the include folder from Visual Studio (eg. C:\Program Files\Microsoft Visual Studio 10.0\VC\include)
4. Copy the .lib files to the lib folder of Visual Studio (eg. C:\Program Files\Microsoft Visual Studio 10.0\VC\lib)
5. Download the System.Data.SQLite source-code and replace the files at /SQLite.Interop/src/core folder for those that come with litereplica (sqlite3.c + sqlite3.h + litereplica.h + litereplica-int.h). Copy also the "common" folder from litereplica to the /SQLite.Interop/src folder.
6. Open in Visual Studio and compile it.
If you are testing with the GPL'd version of litereplica then use this version because it uses the SQLite 3.8.11.
If you have the litereplica commercial license then you can use the last version of System.Data.SQLite.
So we can compile and install litereplica using the normal and default library name (sqlite3.dll on Windows) and then open the database with SQLite.NET using a URI.
The Mono SQLite engine interfaces with the installed sqlite3 library.
We can compile and install litereplica using the normal and default library name (sqlite3.dll on Windows).
For the interface to work with the right library we must define SQLITE_STANDARD and expect that MONOTOUCH is not defined, as we can see here.
The Microsoft.Data.SQLite engine comes with the ASP.Net Core. It also interfaces with the installed sqlite3 library.
So we can compile and install litereplica using the default library name sqlite3.dll or winsqlite3.dll, as we can see here.