错误信息:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.SQLite.dll' or one of its dependencies. 找不到指定的模块。

解决办法:

sqlite官方的下载页面里面说了:The Visual C++ 2010 SP1 runtime for x86 and the .NET Framework 4.0 are required.
也就是说,除了要安装.Net Framework 4.0之外,还要安装The Visual C++ 2010 SP1 runtime,这是微软的一个单独补丁包,下载地址:http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=c32f406a-f8fc-4164-b6eb-5328b8578f03
装好该补丁包之后,就一切OK了。

补充:
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) (针对3.5) 或者
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) (针对4.0)
http://www.microsoft.com/en-us/download/details.aspx?id=8328

相关文章:

  • 2021-06-25
  • 2021-07-12
  • 2021-12-17
  • 2021-05-24
  • 2021-11-21
  • 2022-02-16
  • 2022-12-23
  • 2021-04-27
猜你喜欢
  • 2022-12-23
  • 2022-01-02
  • 2021-08-09
  • 2022-03-01
  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案