The deployment to the different machines with x86 and x64 operating systems

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for SQLite
Post Reply
Nadezhda
Posts: 1
Joined: Mon 20 May 2013 12:17

The deployment to the different machines with x86 and x64 operating systems

Post by Nadezhda » Mon 20 May 2013 12:20

Hello.
I use Entity Framework and dotConnect for SQLite in my application. I need to distribute my application to the different machines with x86 and x64 operating systems. When I put the sqlite3.dll library into the folders myApp\х86\sqlite3.dll and myApp\х32\sqlite3.dll (each folder has the proper library), it doeasn't works properly. But if I put it into the work folder of my application (myApp\sqlite3.dll), it works fine. In that case I have to have 2 packages for different types of OS (x68 ot x64). Why can't the library be found in subdirectories and how can I fix it?
I do not use the dotConnect for SQLite setup program.
dotConnect version: 4.5.192.0

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: The deployment to the different machines with x86 and x64 operating systems

Post by Shalex » Tue 21 May 2013 13:59

Please refer to http://www.devart.com/dotconnect/sqlite ... yment.html:
"Your application should also have access to the sqlite3.dll library. This library can be located either in the application folder or in a system-wide accessible folder. The capacity of the library must correspond to the capacity of your application."
Nadezhda wrote:Why can't the library be found in subdirectories and how can I fix it?
This is the way how the operating system looks for the unmanaged libraries. We recommend you either implement installer which will put sqlite3.dll (x86 or x64) to the needed location or distribute a manual with your application which will explain the situation with sqlite3.dll to your end users.

Post Reply