我目前正在使用SQLite for Windows Forms,但在运行项目时它显示错误:
无法加载DLL的'sqlite3':找不到指定的模块.(来自HRESULT的异常:0x8007007E)
我添加了DLL,System.Data.SQLite.dll但它显示相同的错误.请问有关这个问题的完美答案可以帮助我吗?提前致谢
我添加了我认为必要的SQLite(和sqlite-net)包到我的应用程序.但是,在运行它时,我得到一个例外:
System.DllNotFoundException未被用户代码处理HResult = -2146233052消息=无法加载DLL的'sqlite3':找不到指定的模块.(例外
我安装了以下SQLite包:

缺什么?
我尝试了ajawad987的建议,但仍然得到相同的运行时错误,即使我有这个:

...还有这个:

发生这个运行时异常的地方(在SQLite.cs中)对我来说似乎很奇怪:
var r = SQLite3.Open (databasePath, out handle, (int)openFlags, IntPtr.Zero);
Run Code Online (Sandbox Code Playgroud)
// open using the byte[]
// in the case where the path may include Unicode
// force open to using UTF-8 using sqlite3_open_v2
var databasePathAsBytes = GetNullTerminatedUtf8 (DatabasePath);
var r = SQLite3.Open (databasePathAsBytes, out handle, (int) openFlags, IntPtr.Zero);
Run Code Online (Sandbox Code Playgroud)
但是我正在使用C#,那么为什么线路甚至无法运行呢?(它在"else"块中失败了)?