开发者

Oracle.DataAccess.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86' when creating a msi package

开发者 https://www.devze.com 2023-02-19 02:13 出处:网络
I am getting the following error when i build the MSI Package. Oracle.DataAccess.dll\' targeting \'AMD6开发者_C百科4\' is not compatible with the project\'s target platform \'x86\' when creating a ms

I am getting the following error when i build the MSI Package.

Oracle.DataAccess.dll' targeting 'AMD6开发者_C百科4' is not compatible with the project's target platform 'x86' when creating a msi package

My environment is.

1. Visual studio 2008, oracle 64 bit client.
2. i even made the target platform to be AnyCpu.

Note: It Works fine for X86

Any solutions or workarounds to make it work.


You need to get the x86 oracle client, then you can use all x86 components. Or you need to fix the compile to compile in x64, then you can use all x64 components.

Or you could try setting the importing of dependencies to off within msi, which might work, but I don't recommend it.

0

精彩评论

暂无评论...
验证码 换一张
取 消