Archive for August, 2005

NUnit and Visual Studio 2005 Beta 2

Thursday, August 11th, 2005

I was struggling to get NUnit 2.2 to work with a VS2005 Beta 2 project. I kept getting a BadImageFormatException when I tried to launch NUnit-GUI.exe.
The solution was to add the following line to the <startup> tag of nunit-gui.exe.config (and nunit-console.exe.config if you are using it from the command line):
<supportedRuntime version=”v2.0.50215” />
EDIT: For the final […]

Test driving class libraries with NUnit and Visual Studio 2003

Tuesday, August 2nd, 2005

Recently, I was developing a class library project in Visual Studio 2003. I wanted to do Test Driven Development with NUnit, and use NUnit as the debug harness for my library. I tried several approaches but none of them seemed to work well for me.
My main requirements were that:

It should be version control friendly […]