Saturday, March 28, 2009

system.badimageformatexception

The errors are slowly trickling in. This time Nunit. I tried to load some of my assemblies to unit test and recieved this exception: "system.badimageformatexception". So I ensured all the projects in my solution where compiling using the same CPU. Still I got the same error.

It turns out this is another symptom of developing on 64bit Vista system. The assemblies I was testing were x86. The nunit was 64bit, and that's were the problem was. This can be resolved by using nunit-x86.exe in the bin directory.

Another problem down.
Post a Comment