I am making one WPF application and trying to deploy / publish it. While I run the application in Visual Studio, everything is in order. But when I try to split the [From Release folder] deployment files into antoher location and try to run, I get an error.
Unable to load DLL 'SQLite.Interop.dll': The specified module was not found. (Exception from HRESULT: 0x8007007E)
I copied the files App.exe + App.exe.config + System.Data.SQLite.dll from the release folder.
Additional Information:
I installed the SQLite Nuget package.
I tried by unchecking, preferring 32-bit and setting the platform for any processor in the solution properties.
I'm new to WPF, can anyone fix me if my deployment process or something else is wrong?
Update:
I also tried to copy the entire SQLite-owned DLL to a new location along with the exe solution file, but the same error appears.
List of files that I have compiled:
App.exe
App.exe.config
System.Data.SQLite.dll
System.Data.SQLite.EF6.dll
System.Data.SQLite.Linq.dll
source
share