NAnt SDK Documentation - v0.92

LicenseTask.LicenseTarget Property

NOTE: This property is now obsolete.

Use the "target" attribute instead.


Specifies the executable for which the .licenses file is generated.

[Visual Basic]
<Obsolete(Message:="Use the "target" attribute instead.", IsError:=False), _  StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null"), _  TaskAttribute(Name:="licensetarget", Required:=False, ExpandProperties:=True, ProcessXml:=True)>
Public Property LicenseTarget As String
[C#]
[Obsolete(Message="Use the "target" attribute instead.", IsError=False)]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
[TaskAttribute(Name="licensetarget", Required=False, ExpandProperties=True, ProcessXml=True)]
public string LicenseTarget {get; set;}

See Also

LicenseTask Class | NAnt.DotNet.Tasks Namespace