如何部署源码与.net [英] how to deploy sqlite with .Net

查看:131
本文介绍了如何部署源码与.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是从一个用户,当他们安装在我的.NET 2.0的应用程序,他们得到了一个参考system.data.sqlite.dll找不到消息的报告。我用英诺在同一个文件夹中的可执行文件,并没有其他人的问题进行安装。这有什么区别什么是副本的本地属性是当我添加在VS的参考?我的理解是,只有影响运行它在VS.只要用户有源码在同一文件夹中的可执行文件,不应该说是所有需要?可能有一个权限或其他问题与危机干预阻止安装该dll?确实sqlite.dll需要注册? - 没有其他人不得不。

I got a report from a user that when they installed my .net 2.0 app they got a message that a reference to system.data.sqlite.dll could not be found. I use Inno to install it in the same folder as the executable and no problems from others. Does it make any difference what the copy local property is when I add the reference in VS? my understanding is that only impacts running it under VS. As long as the user has sqlite in the same folder as the executable, shouldnt that be all that is needed? could there be a permission or other secutity issue that blocks installing the dll? does sqlite.dll need to be registered? -no one else has had to.

推荐答案

是的,如果它是可执行文件的文件夹中,它的工作原理。但你必须处理32位的64位架构,有独立的组件为。 32位是/System.Data.Sqlite.dll,在/x64/System.Data.Sqlite.dll 64位。

Yes, if it is in the folder with the executable, it works. But you will have to deal with 32 bit an 64 bit architectures, there are seperate assemblies for that. 32 bit is in /System.Data.Sqlite.dll, 64 bit in /x64/System.Data.Sqlite.dll.

这篇关于如何部署源码与.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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