NAnt SDK Documentation - v0.92

Project Properties

The properties of the Project class are listed below. For a complete list of Project class members, see the Project Members topic.

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.
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.

See Also

Project Class | NAnt.Core Namespace