----- Original Message ----- 
From: "Erich Eichinger" <[EMAIL PROTECTED]>
To: <nant-users@lists.sourceforge.net>
Sent: Tuesday, February 06, 2007 3:38 PM
Subject: [NAnt-users] How to run NUnitTask against different 
frameworktargets within a single NAnt-Script


>
> Hi,
>
> In the Spring.NET project I'm working on we need to maintain a single 
> build script that should compile and test against all possible target 
> frameworks (NET 1.0, 1.1, 2.0, Mono, CF).
>
> Compilation runs against the right framework - but when it comes to 
> executing the tests, these tests are executing within the CLR used to 
> launch nant.exe (of course).
>
> We've been using a workaround using the <exec> task and setting 
> COMPlus_Version environment variable but that's not satisfying all needs.
>
> Are there any ideas, already existing solutions, future plans on this 
> issue?

I was actually planning on writing an <nunit-console> task, which would just 
be wrapper around the nunit-console executable (which we would include in 
the NAnt distribution for each supported target framework, or at least .NET 
and Mono).

This would allow us to support all versions of .NET and Mono, but not 
.NETCF.

Not sure if there's a better approach to this.

Gert 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to