Missing System.Data.SQLite.dll reported after installation-Collection of common programming errors
The desktop software (.Net 4.0, compiled under Visual Studio 2010, target: x86
) I’m developing is shipping with System.Data.SQLite (1.0.86 for x86, from system.data.sqlite.org*) for the first time.
On the development machine (And every other machine where the System.Data.SQLite-installer has run), everything works correctly.
On the testing machine however, after installation (a standard MSI setup created with the Visual Studio Installer) launching the application and showing the splash screen, before showing the GUI, the application creates an exception with the error:
System.IO.FileNotFoundException: Could not load file or assembly ‘System.Data.SQLite.dll’ or one of its dependencies.
The mentioned file itself is found in the application directory (correct version), along with all the other referenced DLLs.
I assume this works on the development machines because of the setup option ‘Install images’. I didn’t install SQLite in the GAC. The application project is directly referencing the pre-build System.Data.SQLite.dll with local copy
set to true
.
Are there any dependencies I’m not seeing? Or is it a missing Microsoft Visual C++ Runtime Library (Not present in the application directory)? Or a missing SQLite.Interop.DLL
(Not present in the application directory)?
How could I fix those?