Geeks With Blogs
AzamSharp Some day I will know everything. I hope that day never comes.

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

 

Posted on Wednesday, December 14, 2005 2:57 PM | Back to top


Comments on this post: NUnit, a huge mess when being used for Visual Studio.NET 2005

# re: NUnit, a huge mess when being used for Visual Studio.NET 2005
Requesting Gravatar...
You are a braver man than I!

I have been keeping 2.0 to small isolated projects for the time being until I am sure suppoort is there.

If you think nUnit is fun try nDoc :(
Left by Greg Young on Dec 15, 2005 11:19 AM

# re: NUnit, a huge mess when being used for Visual Studio.NET 2005
Requesting Gravatar...
Hi,

Well, I was just trying to test it out but it really blowed up on my face.
Left by Azamsharp on Dec 15, 2005 11:21 AM

Your comment:
 (will show your gravatar)


Copyright © Mohammad Azam | Powered by: GeeksWithBlogs.net