NAnt SDK Documentation - v0.92

IlasmTask.Target Property

Specifies which output type should be generated.

[Visual Basic]
<TaskAttribute(Name:="target", Required:=True, ExpandProperties:=True, ProcessXml:=True), _  StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null")>
Public Property Target As String
[C#]
[TaskAttribute(Name="target", Required=True, ExpandProperties=True, ProcessXml=True)]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
public string Target {get; set;}

Property Value

A String that contains the target type. Possible values are dll and exe.

Remarks

Corresponds to the /OUTPUT flag.

See Also

IlasmTask Class | NAnt.DotNet.Tasks Namespace