BuildFile Property

NAnt SDK Documentation - v0.92 |

# CommandLineOptions.BuildFile Property

Gets or sets the buildfile that should be executed.

[Visual Basic]
<CommandLineArgument(Name:="buildfile", ShortName:="f", Description:="Use given buildfile", Type:=CommandLineArgumentTypes.AtMostOnce)>
Public Property BuildFile As String
[C#]
[CommandLineArgument(Name="buildfile", ShortName="f", Description="Use given buildfile", Type=CommandLineArgumentTypes.AtMostOnce)]
public string BuildFile {get; set;}

#### Property Value

The buildfile that should be executed.

#### Remarks

Can be both a file or an URI.

#### See Also

CommandLineOptions Class | NAnt.Core Namespace