CommandLineOptions Class

Summary

Represents the set of command-line options supported by NAnt.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CommandLineOptions"] class Type type-node

Syntax

public class CommandLineOptions

Properties

Name Value Summary
BuildFile string
Gets or sets the build file that should be executed.
Debug bool
Gets or sets a value indicating whether debug information should be displayed during the build process.
DefaultFramework string
Gets or sets the target framework to use (overrides NAnt.exe.config settings)
EmacsMode bool
Gets or sets a value indicating whether to produce emacs (and other editor) friendly output.
ExtensionAssemblies StringCollection
Gets a collection of assemblies to load extensions from.
FindInParent bool
Gets a value indicating whether parent directories should be searched for a build file.
IndentationLevel int
Gets or sets the indentation level of the build output.
Listeners StringCollection
Gets a collection containing fully qualified type names of classes implementing NAnt.Core.IBuildListener that should be added to the project as listeners.
LogFile FileInfo
Gets or sets the name of the file to log output to.
LoggerType string
Gets or sets the System.Type of logger to add to the list of listeners.
NoLogo bool
Gets or sets a value indicating whether the logo banner should be printed.
Pause bool
Pauses before program ends.
Properties NameValueCollection
Gets or sets the list of properties that should be set.
Quiet bool
Gets or sets a value indicating whether only error and debug debug messages should be displayed during the build process.
ShowHelp bool
Gets or sets a value indicating whether the NAnt help should be printed.
ShowProjectHelp bool
Gets or sets a value indicating whether NAnt.Core.Project help should be printed.
TargetFramework string
Gets or sets the target framework to use (overrides NAnt.exe.config settings)
Targets StringCollection
Gets a collection containing the targets that should be executed.
UseJobs bool
Verbose bool
Gets or sets a value indicating whether more information should be displayed during the build process.