Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQLite deployment for .net application

Tags:

c#

sqlite

I have used SQLite for my .net framework 4.0 WPF application, It works perfectly fine with development environment. I just copied system.data.sqlite.dll to my application installed location but it is not working as expected.

Can anybody tell me how to deploy the SQLite for the fresh machine.?

IS it not enough to distribute only the dll's? I am using installshiled 2011 to build the setup installer. Please share if anybody has merge module for SQLite.

Early help will be greatly appreciated.

Thanks in advance

Vinay MS

like image 545
Vinay MS Avatar asked Oct 07 '11 14:10

Vinay MS


1 Answers

You should be able to operate with just the interop and the data DLLs. Our project uses these:
Note: we are using LINQ as well.

The LINQ one isn't necessary unless you use LINQ.

I've renamed every copy of SQLite3.dll or SQLite3.exe on my computer (there were dozens) and the application continues to run. I was checking to make sure my answer is correct, and this is something we're going to have to do, in order to make sure our installs work, too.

like image 162
Tangurena Avatar answered Oct 12 '22 22:10

Tangurena