[NAnt-users] 0.92 Beta 1 release not compiled with NET_4_0 define

2012-05-14 Thread Peter McEvoy
Hi there, I've been trying to use the nunit2 task to unit test some MVC controllers and have been seeing the following exception: [nunit2] 21) Otu.Web.UnitTests.Controllers.RegistrationControllerUnitTests.Execute_should_return_registration_complete_view_when_registration_is_in_session : SetUp :

Re: [NAnt-users] 0.92 Beta 1 release not compiled with NET_4_0 define

2012-05-14 Thread Ryan Boggs
Hi Peter, That preprocessing statement was added during the 0.91 release phase, when NAnt was still using the .NET 1.0 runtime by default. We were having issues between .NET 1.0 and 4.0, which is why that statement is there. I just took a look at the .NET docs and the AppDomain.CreateDomain

Re: [NAnt-users] 0.92 Beta 1 release not compiled with NET_4_0 define

2012-05-14 Thread Peter McEvoy
Thanks for quick feedback. Running out the door now, so will add in the morning if that is OK. Cheers Pete On 14 May 2012 18:07, Ryan Boggs rmbo...@gmail.com wrote: Hi Peter, That preprocessing statement was added during the 0.91 release phase, when NAnt was still using the .NET 1.0 runtime