.Net 应用程序无法在 64 位 Windows 中检测到 ODP.NET 2.111.6.20
我们目前正在通过 xcopy 部署依赖于 ODP.NET 2.111.6.20 的 .net winform 应用程序。在 32 位 Windows 上安装没问题,但是,由于某种原因,我们的应用程序无法在 64 位环境中检测到 odp.net。
我想问在构建应用程序时是否必须执行特殊的构建配置来解决此问题,或者我是否必须调整一两个设置文件才能使其正常工作?
We are currently deploying our .net winform application which depends on ODP.NET 2.111.6.20 via xcopy. Installing on 32 bit windows was fine, however, for some reason our applications cannot detect odp.net in a 64bit environment.
I would like to ask if there are special build configurations that i have to do in building my applications to solve this problem, or do i have to tweak a settings file or two to make it to work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为 ODP 是分别针对 32 位和 64 位进行编译的,因此除了引用正确的库的不同构建之外,我不确定您可以做什么。我强制构建为 32 位,因为支持 64 位并不是硬性要求; 32 位程序在 64 位 Windows 上运行得很好(当然,您必须小心注册表访问以及 32 位和 64 位之间的所有其他差异)。
I think ODP is compiled separately for 32 and 64 bits so aside from having different builds referencing the correct library I'm not sure what you could do. I forced my builds to 32 bits since supporting 64 wasn't a hard requirement; programs in 32 bits run just fine on 64-bit windows (of course you must be careful with registry access and all other things that differ between 32 and 64).