NAnt SDK Documentation - v0.92

AttribTask.File Property

The name of the file which will have its attributes set. This is provided as an alternate to using the task's fileset.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="file", ExpandProperties:=True, ProcessXml:=True)>
Public Property File As FileInfo
[C#]
[TaskAttribute(Required=False, Name="file", ExpandProperties=True, ProcessXml=True)]
public System.IO.FileInfo File {get; set;}

See Also

AttribTask Class | NAnt.Core.Tasks Namespace