NAnt SDK Documentation - v0.85-nightly-2005-11-09

Project Members

Project overview

Public Instance Constructors

Project Overloaded. Initializes a new instance of the Project class.

Public Instance Properties

BaseDirectory Gets or sets the base directory used for relative references.
BuildFileLocalName Gets the path to the build file.
BuildFileUri Gets the Uri form of the current project definition.
BuildListeners Gets the build listeners for this project.
BuildTargets The list of targets to build.
ConfigurationNode Gets the XmlNode NAnt should use to initialize configuration settings.
CurrentTarget Gets the current target.
DataTypeReferences Gets the DataTypeBase instances defined in this project.
DefaultTargetNameMissing <summary> documentation for P:NAnt.Core.Project.DefaultTargetName
Document Gets the active Project definition.
FrameworkNeutralProperties Gets the framework-neutral properties defined in the NAnt configuration file.
Frameworks Gets a collection of available .NET frameworks.
IndentationLevel Gets or sets the indendation level of the build output.
IndentationSize Gets or sets the indentation size of the build output.
NamespaceManager Gets the XmlNamespaceManager.
PlatformName Gets the name of the platform on which NAnt is currently running.
ProjectName Gets the name of the Project.
Properties Gets the properties defined in this project.
RuntimeFramework Gets the framework in which NAnt is currently running.
TargetFramework Gets or sets the framework to use for compilation.
Targets Gets the targets defined in this project.
Threshold Gets or sets the default threshold level for build loggers.
Verbose Gets a value indicating whether tasks should output more build log messages.

Public Instance Methods

AttachBuildListeners Attaches the specified build listeners to the Project.
CreateDataTypeBaseMissing <summary> documentation for M:NAnt.Core.Project.CreateDataTypeBase(System.Xml.XmlNode)
CreateDefaultLogger Creates the default IBuildLogger and attaches it to the Project.
CreateTaskOverloaded. Creates a new from the given XmlNode.
DetachBuildListeners Detaches the currently attached IBuildListener instances from the Project.
Equals (inherited from Object) 
ExecuteOverloaded. Executes the default target.
ExpandProperties Expands a String from known properties.
GetFullPath Combines the specified path with the BaseDirectory of the Project to form a full path to file or directory.
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
Indent Increases the IndentationLevel of the Project.
LogOverloaded. Writes a Project level message to the build log with the given Level.
OnBuildFinished Dispatches a BuildFinished event to the build listeners for this Project.
OnBuildStarted Dispatches a BuildStarted event to the build listeners for this Project.
OnMessageLogged Dispatches a MessageLogged event to the build listeners for this Project.
OnTargetFinished Dispatches a TargetFinished event to the build listeners for this Project.
OnTargetStarted Dispatches a TargetStarted event to the build listeners for this Project.
OnTaskFinished Dispatches the TaskFinished event to the build listeners for this Project.
OnTaskStarted Dispatches a TaskStarted event to the build listeners for this Project.
Run Executes the default target and wraps in error handling and time stamping.
TopologicalTargetSort Topologically sorts a set of targets.
ToString (inherited from Object) 
Unindent Decreases the IndentationLevel of the Project.

Public Instance Events

BuildFinishedMissing <summary> documentation for E:NAnt.Core.Project.BuildFinished
BuildStartedMissing <summary> documentation for E:NAnt.Core.Project.BuildStarted
MessageLoggedMissing <summary> documentation for E:NAnt.Core.Project.MessageLogged
TargetFinishedMissing <summary> documentation for E:NAnt.Core.Project.TargetFinished
TargetStartedMissing <summary> documentation for E:NAnt.Core.Project.TargetStarted
TaskFinishedMissing <summary> documentation for E:NAnt.Core.Project.TaskFinished
TaskStartedMissing <summary> documentation for E:NAnt.Core.Project.TaskStarted

Protected Instance Methods

CtorHelper Inits stuff: TypeFactory: Calls Initialize and AddProject Log.IndentSize set to 12 Project properties are initialized ("nant.* stuff set") NAnt Props: nant.filename nant.version nant.location nant.project.name nant.project.buildfile (if doc has baseuri) nant.project.basedir nant.project.default = defaultTarget nant.tasks.[name] = true nant.tasks.[name].location = AssemblyFileName
Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

Project Class | NAnt.Core Namespace