The NAnt SDK is for creating extensions to NAnt, or using NAnt from another
.Net program. To create a build file you will need to use the XML framework
classes.

We dynamically create build files in some of the tests if you are looking
for an example.

----- Original Message ----- 
From: "Ecmel Ercan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 1:34 AM
Subject: [Nant-users] Creating a .build file by using the NAnt SDK


> Hi,
>
> I would like to know whether creating a build file in C# is possible by
> using the NAnt sdk classes.
>
> Or should one use the System.XML classes to build one?
>
> I checked the Project class but, most of the properties are read only and
> it seems it is not suitable.
>
> I would like to do the following:
>
> Project p = new Project ();
> p.AddTarget ("some target");
> p.Save ("some filename.build");
>
> Thanks for the answers if any.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to