如何解决这个问题无法加载文件或程序集system.data.Sqlite [英] how to solve this problem could not load file or assembly system.data.Sqlite

查看:1101
本文介绍了如何解决这个问题无法加载文件或程序集system.data.Sqlite的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在vs 2013中创建了c#.net windows应用程序,当我构建解决方案时它运行良好但是当我尝试将此应用程序部署到其他机器时它会给出错误

无法加载文件或汇编system.data.Sqlite



System.IO.FileNotFoundException:无法加载文件或程序集'System.Data.SQLite,Version = 1.0.94.0,Culture =中性,PublicKeyToken = db937bc2d44ff139'或其依赖项之一。系统找不到指定的文件。

文件名:'System.Data.SQLite,Version = 1.0.94.0,Culture = neutral,PublicKeyToken = db937bc2d44ff139'

解决方案

SQLite不是.NET的一部分,它来自 http://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki [ ^ ]。您需要将它添加到您的部署中,以便在使用您的应用程序的每个系统上安装它。


真正的解决方案在这里:

https://social.msdn.microsoft .com /论坛/ vstudio / en-US / 689cae98-192f-4cda-b5b8-430f4c0fc9a9 / error-in-sqlite?forum = visualstudiogeneral [ ^ ]

i created c#.net windows applications in vs 2013, when i build the solutions it will runs good but when i try to deploy this applications to other machine it gives the error
could not load file or assembly system.data.Sqlite

System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.SQLite, Version=1.0.94.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Data.SQLite, Version=1.0.94.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139'

解决方案

SQLite is not part of .NET, it is obtained from http://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki[^]. You will need to add it to your deployment to install it on every system that uses your application.


the real solution is here :
https://social.msdn.microsoft.com/Forums/vstudio/en-US/689cae98-192f-4cda-b5b8-430f4c0fc9a9/error-in-sqlite?forum=visualstudiogeneral[^]


这篇关于如何解决这个问题无法加载文件或程序集system.data.Sqlite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆