NUnit, a huge mess when being used for Visual Studio.NET 2005

Well, I am quite frustated :(. I spent last 2-3 hours trying to figure out how to use the NUnitASP with Visual Studio.NET 2005. I pretty much tried everything I could find on google. So, I downloaded NUnitASP and also NUnit 2.2.3. After that I made a class library project and added the references to the nunit.framework.dll and nunitasp.dll. I ran the application and the error:

BadImageFormatException was thrown right on my face.

After some search I figure out that I need to modify some settings in the nunit-console.exe.config and nunit-gui.exe.config files. Here are the correct settings.

<startup>
    <supportedRuntime version="v2.0.50727" />
    <supportedRuntime version="v2.0.50215" />
    <supportedRuntime version="v2.0.40607" />
    <supportedRuntime version="v1.1.4322" />
    <supportedRuntime version="v1.0.3705" />

    <requiredRuntime version="v2.0.50727" />
  </startup>

Okay, After making this adjustments I loaded the assembly and it came with the error:

The required assembly is not built under any testing framework.

What is that supposed to mean????

Yeah, pretty much I am stuck on this darn!

powered by IMHO

 

Print | posted @ Wednesday, December 14, 2005 2:57 PM

Twitter