如何捆绑oracle数据访问dll?
我对 Oracle 版本 10.2 使用 Oracle.DataAccess.dll。与.NET。我将编译后的应用程序提供给客户,但它对他不起作用,因为我猜测 ODP.NET 不在他的计算机上。
我要求他从 Oracle 下载并安装它,但这不是一个选择,因为他必须经过一些审批流程才能完成。
有没有一种简单的方法来捆绑让它工作所需的 dll?
I use Oracle.DataAccess.dll for Oracle Version 10.2. with .NET. I give the compiled application to the customer and it doesn't work for him because I am guessing ODP.NET is not on his machine.
I asked him to download and install it from Oracle, but that is not an option as he has to go through some approval process to get that done.
Is there an easy way to bundle just the dlls that are needed to get it to work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ODP.NET 是 Java 类的精简 .NET 包装器,因此捆绑是一个更加困难的过程。此外,捆绑可能违反 Oracle EULA,如果您对相当多的客户这样做,可能会给您带来麻烦。而且,对于一个人来说,这是一项艰巨的工作。
您可以设置一个引导程序,让它从 Oracle 自动加载并安装,但这可能无法绕过他公司的政策。
ODP.NET is a thin .NET wrapper over Java classes, so bundling is a more difficult process. In addition, bundling may go against the Oracle EULAs, which could get you in trouble if you do it with quite a few customers. And, it is lot of work for just one.
You could set up a bootstrap program to have it auto load from oracle and install, but this may not get around his company's policy.