Referencing a x86 assembly in a 64bit one

Posted by Jörg Battermann on Stack Overflow See other posts from Stack Overflow or by Jörg Battermann
Published on 2010-05-09T13:27:43Z Indexed on 2010/05/09 13:28 UTC
Read the original article Hit count: 327

Filed under:
|
|

In one project we have a dependency on a legacy system and its .Net assembly which is delivered as a 'x86' and they do not provide a 'Any CPU' and/or 64bit one. Now the project itself juggles with lots of data and we hit the limitations we have with a forced x86 on the whole project due to that one assembly (if we used 64bit/any cpu it would raise a BadImageFormatException once that x86 is loaded on a 64bit machine).

Now is there a (workaround)way to use a x86 assembly in a 64bit .net host app? That tiny dependency on that x86 assembly makes and keeps 99% of the project heavily limited.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about x86