C#调用SQLite数据库,有些情况下会报以下这个错误:

无法加载 DLL“SQLite.Interop.dll”: 找不到指定的模块

实际上程序目录中是存在SQLite.Interop.dll这个文件的,为什么会报错呢?

原因可能是缺少了C++ 2010运行时库,下载并安装 vcredist_x64.exe 即可。

vcredist_x64.exe 下载地址:https://www.microsoft.com/en-us/download/details.aspx?id=13523

vcredist_x86.exe 下载地址:https://www.microsoft.com/en-us/download/details.aspx?id=5555

相关文章:

  • 2022-12-23
  • 2023-01-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
猜你喜欢
  • 2021-05-08
  • 2021-04-09
  • 2022-03-04
相关资源
相似解决方案