.NET应用程序的SQLite部署 [英] SQLite deployment for .net application

查看:92
本文介绍了.NET应用程序的SQLite部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为.net Framework 4.0 WPF应用程序使用了SQLite,它在开发环境中工作得很好。我只是将system.data.sqlite.dll复制到了我的应用程序安装位置,但是它没有按预期工作。

I have used SQLite for my .net framework 4.0 WPF application, It works perfectly fine with development environment. I just copied system.data.sqlite.dll to my application installed location but it is not working as expected.

有人可以告诉我如何为最新版本部署SQLite吗?

Can anybody tell me how to deploy the SQLite for the fresh machine.?

仅分发dll还是不够吗?我正在使用installshiled 2011构建安装程序安装程序。如果有人有SQLite的合并模块,请分享。

IS it not enough to distribute only the dll's? I am using installshiled 2011 to build the setup installer. Please share if anybody has merge module for SQLite.

早期的帮助将不胜感激。

Early help will be greatly appreciated.

在此先感谢

Vinay MS

推荐答案

您应该能够使用互操作和数据DLL。我们的项目使用以下内容:

You should be able to operate with just the interop and the data DLLs. Our project uses these:
.

除非您使用LINQ,否则不需要LINQ。

The LINQ one isn't necessary unless you use LINQ.

我已经重命名了SQLite3.dll的每个副本,或者我的计算机上有SQLite3.exe(有数十个),该应用程序继续运行。我正在检查以确保答案正确,这是我们必须要做的,以确保 our 也能正常工作。

I've renamed every copy of SQLite3.dll or SQLite3.exe on my computer (there were dozens) and the application continues to run. I was checking to make sure my answer is correct, and this is something we're going to have to do, in order to make sure our installs work, too.

这篇关于.NET应用程序的SQLite部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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