Thanks. That would work. Sorry .. should have been more informative in the beginning. I don't want to use an <exec> task. I wanted something to replace it. With the help from Scott and further reading, I believe the <solution> task is what I need. I haven't tried this yet ... I got something else I need to do :(
Felice -----Original Message----- From: Noel Gifford [mailto:[EMAIL PROTECTED] Sent: Monday, July 12, 2004 3:14 PM To: Felice Vittoria; 'Scott Hernandez' Cc: 'Nant-Users (E-mail)' Subject: RE: [Nant-users] converting to nant tasks Felice, Below is one conversion of your request: <exec program="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com" commandline=""${rootdir}\${projDir}\${projName}" /build release " /> <!-- Rebuild solution --> <exec program="devenv.exe" verbose="true" > <arg file="${rootdir}\${projDir}\${projName}" /> <arg value="/out" /> <arg value="${rootdir}\${projDir}\build.out" /> <arg value="/rebuild" /> <arg value="release" /> </exec> -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felice Vittoria Sent: Monday, July 12, 2004 11:36 AM To: Scott Hernandez Cc: Nant-Users (E-mail) Subject: RE: [Nant-users] converting to nant tasks Scott, That line is already part of a build file. I inherited the scripts and rewriting (cleaninup code wherever possible). I was thinking about the <solution> task but wasn't sure. Would this be the correct equivalent? <solution configuration="release"> <projects> <include name="${rootdir}\${projDir}\${projName}" /> </projects> </solution> Felice -----Original Message----- From: Scott Hernandez [mailto:[EMAIL PROTECTED] Sent: Monday, July 12, 2004 2:32 PM To: Felice Vittoria Cc: Nant-Users (E-mail) Subject: Re: [Nant-users] converting to nant tasks Felice, http://nant.sourceforge.net/nightly/help/tasks/solution.html. Or, write a build file from scratch; this is ultimately more flexible, but requires greater knowledge and more effort :) Note: Use a recent nightly build of NAnt (http://nant.sourceforge.net/nightly/builds/) as they are much more reliable than the last release when using <solution/>. ----- Original Message ----- From: "Felice Vittoria" <[EMAIL PROTECTED]> To: "Nant-Users (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, July 12, 2004 12:10 PM Subject: [Nant-users] converting to nant tasks > Hello all, > > Silly question. How can I convert something like this: > > <exec program="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com" commandline=""${rootdir}\${projDir}\${projName}" /build release " /> > > to a Nant task? ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users