Having trouble getting started with the nUnit Runner GUI

12 views
Skip to first unread message

akh2103

unread,
May 25, 2012, 3:09:08 PM5/25/12
to nunit-...@googlegroups.com
Hi Everyone,

I'm trying  to get started with nUnit. I've written some tests and loaded them into the Runner GUI, but I'm getting a System.BadImageFormatException when I try to run the tests. IN VS, the DLL that holds my tests is dependent on an EXE in another project. I've even added a copy of the exe to the dll file for this project but I'm not having any luck.

Any suggestions?

I posted this question on stackoverflow too...

Charlie Poole

unread,
May 25, 2012, 5:36:19 PM5/25/12
to nunit-...@googlegroups.com
BadImageFormatException indicates that the image is bad, not missing.

A possibility: Are you trying to load a 32 bit assembly in a 64 bit
process? If any reference requires 32 bits, use nunit-x86.exe.

Charlie
> --
> You received this message because you are subscribed to the Google Groups
> "NUnit-Discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/nunit-discuss/-/Z5-uh17fCYUJ.
> To post to this group, send email to nunit-...@googlegroups.com.
> To unsubscribe from this group, send email to
> nunit-discus...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/nunit-discuss?hl=en.
Reply all
Reply to author
Forward
0 new messages