NAnt SDK Documentation - v0.92

IfTask.UpToDateFile Property

NOTE: This property is now obsolete.

Use <if test="${file::up-to-date(comparefile, uptodatefile)}"> instead.


The file to compare if uptodate.

[Visual Basic]
<Obsolete(Message:="Use <if test="${file::up-to-date(comparefile, uptodatefile)}"> instead.", IsError:=False), _  TaskAttribute(Required:=False, Name:="uptodatefile", ExpandProperties:=True, ProcessXml:=True)>
Public WriteOnly Property UpToDateFile As String
[C#]
[Obsolete(Message="Use <if test="${file::up-to-date(comparefile, uptodatefile)}"> instead.", IsError=False)]
[TaskAttribute(Required=False, Name="uptodatefile", ExpandProperties=True, ProcessXml=True)]
public string UpToDateFile {set;}

See Also

IfTask Class | NAnt.Core.Tasks Namespace