samedi 23 janvier 2016

Error: SQLite.Interop.dll not found

my Application consists of 2 Projects: App (with the EXE) and AppLib (A libary with different classes). I added SQLite with NuGet to the AppLib-Libary because all classes the handle the database-stuff are located there.

App
|--App
|--AppLib

The plan is, that my App-Project calls the and the database is filles with tables. When i build my project my App.exe and the AppLib.dll and all the SQLite-dlls are copied to App/bin/Debug.

But if i run my programm i get the error, that the SQLite.Interop.dll is missing. These dlls exists in AppLib:

App\AppLib\bin\Debug\x86\SQLite.Interop.dll
App\AppLib\bin\Debug\x64\SQLite.Interop.dll

But they are not copied to App\App\bin\Debug.

How do i manage this?

PS: I'm using Visual Studio 2015

Aucun commentaire:

Enregistrer un commentaire