Resource Property

NAnt SDK Documentation - v0.92 |

# AvailableTask.Resource Property

The resource which must be available.

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

#### See Also

AvailableTask Class | NAnt.Core.Tasks Namespace