dimanche 2 août 2015

"Unable to load DLL 'SQLite.Interop.dll' error on client machine

I have created a Winforms application and am using SQLite with Entity Framework 6. I am using Visual Studio 2013.

The application works perfectly on my local machine. However, when the program runs on another machine the following error occurs:

"Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found.

As far as I'm concerned, the problem is that the Interop dll isn't being copied to the directory when I publish my project.

My question is: How do I force this dll to copy to the correct directory when I publish the application?

Aucun commentaire:

Enregistrer un commentaire