using Visual Studio 2008 to test an x64 .NET binary

Posted by Chris Gray on Stack Overflow See other posts from Stack Overflow or by Chris Gray
Published on 2010-05-21T06:59:36Z Indexed on 2010/05/21 7:10 UTC
Read the original article Hit count: 247

Filed under:
|
|

I have an x64 managed C++ class that needs to be tested using Visual Studio 2008. This class links to a x64 unmanaged lib

I'm not able to run my my tests because vstesthost.exe (the exe Visual Studio hosts my test) is x86 and not x64.

Ideas? the error generated is

rror: System.BadImageFormatException: Could not load file or assembly ... or one of its dependencies. An attempt was made to load

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about c#