SQLite Forum

PreLoadSQLite_LibraryFileNameOnly
Login
When using System.Data.SQLite in a project that is hosted as an add-in problems occur if the customer has multiple add-ins that uses sqlite because you can end up with the wrong version of Sqlite.Interop.dll. 

To work-around this we've had to compile our own System.Data.SQLite that appends the current version to the interop filename. We'd like to move away from this if possible and use the offical NuGet package. 

Is there any way to use PreLoadSQLite_LibraryFileNameOnly instead and have the installer rename the interop dlls? Looking at the source it doesn't look like it would work because "SQLite.Interop.dll" looks to be hardcoded in the assembly.