try 
 
  AppDomain.ExecuteAssembly("nant.exe", 
Assembly.GetExecutingAssembly().Evidence, new string[] { "targetname" } );
 
-Erich


________________________________

        From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan 
Guedeney
        Sent: Wednesday, October 24, 2007 4:35 PM
        To: nant-users@lists.sourceforge.net
        Subject: [NAnt-users] Advanced NANT question ...
        
        
        I'm creating a C# console program that needs to pass in NANT's command 
line arguments and execute a task from a NANT buildfile.  Does anyone have a 
code snippet on how to do this?
        
        
        
        
        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to