NAnt SDK Documentation - v0.85-nightly-2005-11-09

IfTask.CompareFile Property

[This is preliminary documentation and subject to change.]

NOTE: This property is now obsolete.

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


The file to check against for the uptodate file.

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

Remarks

Missing <remarks> documentation for P:NAnt.Core.Tasks.IfTask.CompareFile

See Also

IfTask Class | NAnt.Core.Tasks Namespace