We ran into a problem with the resharper testrunner when using assemblies compiled in x86 mode.
* Create assembly A with single class C doing simple thing M
* Create test assembly A.Tests testing A.C.M.
* Run tests
Exp and act: Works
* Select Configuration manager and build A in x86
* Rerun tests
Act: System.BadImageFormatException : Could not load file or assembly 'A, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
The workaround in the simple case is to set A.Tests to build in x86 mode too.