Hi Remco and team,
I run into a situation with Ncrunch today where it failed all my tests in a project with a Bad Image Format Exception but VS was happy and compiled and run my application with out a problem.
In my solution (VB) I have my source code and there tests separated into different projects, if you set, from the solution explorer, [PROJECT NAME]->My Project->Compile->Target Cpu differently in both projects Ncrunch fails all the tests in the project with a Bad Image Format exception.
In my case I had specifically set my source code project to compile for X64 but had inadvertently left the project containing the tests to the default Any Cpu setting.
Expected: No Exception to be thrown
But was: <System.BadImageFormatException: Could not load file or assembly 'file:///C:\Users\...\AppData\Local\NCrunch\12860\34\Core\bin\Debug\Core.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Just wondered if this was a bug?
Thanks for your help.