我们正在使用一个第三方程序集,该程序集似乎已编译为AnyCPU。
We are using a Third-Party assembly that seems to be compiled as AnyCPU.
但是,我们在应用程序中进行了多次安装,导致出现问题。此第三方程序集使用oracle数据访问库,在仅安装32位oracle客户端的64位计算机上不起作用。
However, we have a number of installations of our application where this leads to problems. This Third-Party assembly makes use of the oracle dataaccess library, and will not work on 64-bit machines where only a 32-bit oracle client is installed.
额外的64位oracle客户端是可能的,但也很昂贵(需要花费很多时间,许多机器必须更新等)。
Installing a additional 64-bit oracle client would be possible, but also expensive (takes a lot of time, many machines have to be updated etc.)
有没有一种强制的方法一个AnyCPU .Net程序集可以以32位运行而无需重新编译?
Is there a way to force a AnyCPU .Net assembly to run as 32-bit without recompiling?
推荐答案看看 CorFlags.exe 。
示例(设置32BIT标志):
Example (set 32BIT flag):
corflags [path]\[YourAssembly.exe] /32Bit+更多推荐
在64位系统上以32位运行AnyCPU
发布评论