No, It wouldn't, it would only force you to use different command lines...
Nant -f:mybuild.build -t:net-2.0 Nant -f:mybuild.build -t:net-1.1 But, I think you can also set the property in the build file: <property name="nant.settings.currentframework" value="net-1.1" /> BOb -----Original Message----- From: Eric Fetzer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 08, 2007 12:07 PM To: Bob Archer; Nant Users Subject: Re: [NAnt-users] 1.1 and 2.0 in same build This would force me to have different build files for each. I was looking for something inline. For example: <solution> <my2005projects.../> </solution> <set-framework t="net-1.1"/> <solution> <my2003projects.../> </solution> ----- Original Message ---- From: Bob Archer <[EMAIL PROTECTED]> To: Eric Fetzer <[EMAIL PROTECTED]>; Nant Users <nant-users@lists.sourceforge.net> Sent: Thursday, February 8, 2007 10:02:04 AM Subject: Re: [NAnt-users] 1.1 and 2.0 in same build You can use the -t: command line parameter to specify the framework version to target. BOb -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Fetzer Sent: Thursday, February 08, 2007 11:54 AM To: Nant Users Subject: [NAnt-users] 1.1 and 2.0 in same build I need to be able to build both VS2005 and VS2003 built projects in the same build. In other words, how can I tell <Solution> to target which framework from inside a build script? Thanks - Eric ________________________________________________________________________ ____________ Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather ------------------------------------------------------------------------ - 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 ------------------------------------------------------------------------ - 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 ________________________________________________________________________ ____________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 ------------------------------------------------------------------------- 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