| NAnt  Help  Function Reference  file::exists | v0.85 | 
Determines whether the specified file exists.
bool file::exists(file)
            
    
    | Name | Type | Description | 
|---|---|---|
| file | string | The file to check. | 
Execute a set of tasks, if file "output.xml" does not exist.
<if test="${not file::exists('output.xml')}">
    ...
</if>