The current implementation of NUnit2TestDomain.CreateDomain has two different ways of creating an app domain, with one of them only being used via conditional compilation using the NET_4_0 symbol
Upon investigation by Ryan, the NET_4_0 section would in fact be appropriate for 2.0 (http://www.mail-archive.com/nant-users%40lists.sourceforge.net/msg12282.html)
Enabling the looser way of constructing the app domain will allow us to use the NUnit2 task to run unit tests against MVC3 controllers that are using ViewBag and other DLR constructs.
I have the fix on my local repo but I need to make some minor adjustments first before committing. Should go in for RC1.
Cleaned up some of the #if NET_4_0 preprocessing statements. It was d…
…iscovered that some of those statements were no longer necessary since the move to .net/mono 2.0. This also addresses issue #48.
Changes committed in time for RC1.