简体   繁体   English

Oracle ODP.net非托管12.2(Oracle.DataAccess.dll)需要哪些依赖项/ dll?

[英]What are required dependencies/dlls for Oracle ODP.net unmanaged 12.2 (Oracle.DataAccess.dll)?

I am using unmanaged Oracle.DataAccess.dll having version (4.122.1.0). 我正在使用版本(4.122.1.0)的非托管 Oracle.DataAccess.dll。

However I do not want to install the Oracle client on each machine. 但是,我不想在每台计算机上都安装Oracle客户端。

Can someone suggest dlls/files that I can copy with my .Net Executable, so that i do not have to install Oracle client? 有人可以建议我可以用.Net可执行文件复制的dll /文件,这样就不必安装Oracle客户端了。

I don't recommend to copy the DLL's manually. 我不建议手动复制DLL。

Download the XCopy version you need 下载所需的XCopy版本

Then you can simply install everything from command line like 然后,您可以简单地从命令行安装所有内容,例如

install.bat odp.net4 c:\oracle myhome true

If you still prefer to make it manually, you can read the install.bat file. 如果您仍然喜欢手动进行制作,则可以阅读install.bat文件。 It copies folder instantclient_12_2 and odp.net4 plus running a few configuration changes in GAC and Registry. 它复制文件夹instantclient_12_2odp.net4加上运行在GAC和注册表中的一些配置更改。

Or as an alternative use the ODP.NET Managed Driver . 或者,也可以使用ODP.NET托管驱动程序 This requires only a single DLL Oracle.ManagedDataAccess.dll 这只需要一个DLL Oracle.ManagedDataAccess.dll

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM