Hamza Zeen-Aldin wrote:

Is there anyway that I can call the methods that Nant uses directly. For
example, how can I call the methods that are in the Project class (i,e
GetFullPath() ) form my C# code that resides inside a script task.



sure, just use the project instance that gets passed to your ScriptMain function:

public static void ScriptMain(Project project) {
  project.GetFullpath( ... );
}

Ian

--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to