在我本机的开发环境c#连接sqlite3没有问题,可是release版本移植到其他的机器就提示Could not load file or assembly'System.Data.SQLite.dll' or one of its depedencies。找不到指定模块。我用的是vs2010请各位给与帮助。
解决方案 »
- Fill: selectCommand.Connection 属性尚未初始化
- C# DataGridView
- 求生成chm格式的数据字典工具
- 请问我用VS2005做asp.net网站的时候,如何才能使用UTF-8?
- asp.net 缓存 问题,输出 gzip压缩文件
- 关于打印的问题
- 大家帮我解释一下这段代码码吧,谢谢
- 很简单的问题但是该不明白,C和C#的main函数有什么区别?
- 弱智问题:请问 C#2005 的 spy++ 跑哪里去了?
- 使用XSLT转换XML时,如何得到属性的值
- 实时读取数据库数据?
- 文件“d:\code2011\frmclip.h”不支持代码分析或生成,因为它未包含在支持代码的项目中。
前一段引用System.Data.Oracle.dll 也是这问题
把对应System.Data.Oracle.dll复制到项目bin下就好了
另:我的release目录下存在'System.Data.SQLite.dll'这个dll文件。
我也遇到了这个问题,开发平台没有这个问题,但是发布后其他电脑都是报找不到指定模块.
以前老版本的sqlite.dll是没有问题的.
详情可参考:
http://stackoverflow.com/questions/1621758/on-some-computers-application-cant-load-sqlite-dll-file
http://forum.galleryserverpro.com/yaf_postst407_Error--Could-not-load-file-or-assembly--System-Data-SQLite--or-one-of-its-dependencies.aspx
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