I've created a simple windows form project that creates a database (SQLite) and displays data on the window.
I've downloaded System.Data.SQLite package. During debug, the system shows the database correctly.
Now I want to create an installable application to share with friends, so I added a setup project on the solution.
When I run the installation from the setup project, nothing happens. I get the following error from Windows Event Viewer
Application: SimpleDB.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.DllNotFoundException at System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(System.Data.SQLite.SQLiteConfigOpsEnum) at System.Data.SQLite.SQLite3.StaticIsInitialized() at System.Data.SQLite.SQLiteLog.PrivateInitialize(System.String) at System.Data.SQLite.SQLiteLog.Initialize(System.String) at System.Data.SQLite.SQLiteConnection..ctor(System.String, Boolean) at System.Data.SQLite.SQLiteConnection..ctor(System.String) at SimpleDB.SQLiteDatabase.ExecuteNonQuery(System.String) at SimpleDB.FormMain..ctor() at SimpleDB.Program.Main()
The Application installs in Program Files(x86), but it doesn't show any window when I click on the installed executable. These are the files there:
Am I missing something?
When I don't use dependencies (eg SQLite), the program is correctly installs and shows a window.




