Central representation of a NAnt project.
For a list of all members of this type, see Project Members.
System.Object
NAnt.Core.Project
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The Run method will initialize the project with the build file specified in the constructor and execute the default target.
Project p = new Project("foo.build", Level.Info); p.Run();
If no target is given, the default target will be executed if specified in the project.
Project p = new Project("foo.build", Level.Info); p.Execute("build");
Namespace: NAnt.Core
Assembly: NAnt.Core (in NAnt.Core.dll)
Project Members | NAnt.Core Namespace