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
The deployment to the different machines with x86 and x64 operating systems
Re: The deployment to the different machines with x86 and x64 operating systems
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."
"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."
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.Nadezhda wrote:Why can't the library be found in subdirectories and how can I fix it?