NAnt SDK Documentation - v0.92

PathElement.File Property

The name of a file to add to the path. Will be replaced with the absolute path of the file.

[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

PathElement Class | NAnt.Core.Types Namespace