NUnit 2.0 And .NET 1.1 Together

I spoke at the Wisconsin .NET User Group last night and had a good time.  A small part of my talk was on using NUnit to do unit testing and an introduction to Test Driven Development(TDD).  In the course of preparing my samples I upgrade to VS.NET 2003 from VS.NET 2002 and thus from .NET v1.0 to v1.1.  Unfortunately, I had a heck of a time getting NUnit to work after doing this, and was getting a security exception any time I tried to load a 1.1 compiled assembly.

There are couple of resources I was directed to related to this when I asked the community at ASPAdvice.com for help.  Rachel Reese directed me to Robert McLaws blog on the subject, which in turn linked this very detailed article.  However, because I'm dense at times I didn't actually "get it" as far as what I had to do until James Shaw from www.CoverYourASP.com wrote to inform me of this exact process:

 To get NUnit to work with 1.1 assemblies, add this to the NUnit config files in NUnit's /bin folder (gui and console):

<configuration>

<startup>

<supportedRuntime version="v1.1.4322" />

</startup>


I did that, started up NUnit, loaded my 1.1 compiled assembly, ran my tests, and everything came up green on the first try.  Yay!  Hope this helps other NUnit users.

[Listening to: Redshift - Infamy (great Ohio local band)]

2 Comments

  • Hey I was wondering if u had the song Infamy by Redshift....i am aware of the fact that when u posted this it was June 11, 2003 8:31AM however i was just wondering if u owned the song on CD or on ur computer. Or did u just listen to it on 88.9FM...Get back to me ntank05@yahoo.com --Thanks --Tank

  • Please help! I know it was posted forever ago, bug I noticed you mentioned the great song &quot;Infamy&quot; by the killer but now defunked band Redshift. I have been looking for this song for a long time. if you can help please contact at s_michalec@yahoo.com



    thanx

Comments have been disabled for this content.