mardi 26 mai 2015

C# sqlite Unable to load sqlite3.dll

I have used nuget to install sqlite-net and System.Data.SQLite (x86/x64). I have rebuilt and I have restarted and I still get the following error: Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E). This is the line that triggers it:

db = new SQLiteConnection("Data Source=C:\\Users\\xxxxxxx\\Desktop\\mydb.sqlite;Version=3;");

Am I missing something? Shouldn't this just work?

Aucun commentaire:

Enregistrer un commentaire