是否可以不安装而使用ODP.NET? [英] Can I use ODP.NET without installing it ?

查看:93
本文介绍了是否可以不安装而使用ODP.NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在用C#开发一个将连接到Oracle数据库的应用程序.
我决定使用ODP.NET.我已经安装了整个ODAC软件包,并且一切正常.但是现在,我想在其他计算机上运行该应用程序(未安装ODAC软件包,但使用oracle客户端).

是否需要在要运行我的应用程序的每台计算机上安装该软件包?
是否可以不安装而使用ODP.NET?
我只添加了Oracle.DataAccess.dll作为对我的项目的引用.

感谢您的帮助,

Hi,
I''m developing an application in C# that will connect to Oracle database.
I decided to use ODP.NET. I have installed the whole ODAC package and everything works great. But now, I want to run that application on other computer (without ODAC package installed, but with oracle client).

Is it necessary to install that package on every computer where i want to run my app?
Can I use ODP.NET without installing it ?
I added only Oracle.DataAccess.dll as a reference to my project.

Thanks for help,

推荐答案

,您必须在项目中包括以下依赖项,并确保将其复制到输出目录中.

you have to include the following dependencies on your project and make sure you copy them to the output directory.

oci.dll
ociw32.dll
Oracle.DataAccess.dll
orannzsbb11.dll
oraocci11.dll
oraociicus11.dll
OraOps11w.dll



希望对您有帮助



Hope it helps


这篇关于是否可以不安装而使用ODP.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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