NUnit 2.2 and Visual Studio .NET 2005 beta 2
Aug 14th, 2005 by Sebastian
If you get BadImageFormatException error or you want to work with NUnit 2.2 and VS .NET 2005 beta 2, you must add
<supportedRuntime version="v2.0.50215" />
to <startup> section
so it looks like this:
<startup>
<supportedRuntime version="v2.0.50215" />
<supportedRuntime version="v1.1.4322" />
<supportedRuntime version="v1.0.3705" />
<requiredRuntime version="v1.0.3705" />
</startup>
and remember that you have to change it both in the
nunit-gui.exe.config and nunit-console.exe.config files.
v2.0.50215 is for beta 2 of VS 2005 .NET.
Best thing to do is to check what version of .NET framework you’re running.
To do it, see folder names in WindowsPath\Microsoft.NET\Framework folder (for ex. C:\WINDOWS\Microsoft.NET\Framework)
Plus it seems that NUnit 2.2 doesn’t work when run as an external program while debugging from VS .NET 2005.
When you click Run nothing happens.
Try to download NUnit 2.2.2, it worked for me.