.Net 应用程序无法在 64 位 Windows 中检测到 ODP.NET 2.111.6.20

发布于 2024-09-19 01:44:52 字数 194 浏览 2 评论 0原文

我们目前正在通过 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南笙 2024-09-26 01:44:52

我认为 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文