Summary
Copies the specified file if the destination file does not exist, or
the source file has been modified since it was previously copied.
- Assembly
- NAnt
.VSNet .dll - Namespace
- NAnt
.VSNet - Containing Type
- ProjectBase
Syntax
protected void CopyFile(FileInfo srcFile, FileInfo destFile, Task parent)
Parameters
Name | Type | Description |
---|---|---|
srcFile | FileInfo | The file to copy. |
destFile | FileInfo | The destination file. |
parent | Task | The NAnt.Core.Task in which context the operation will be performed. |
Return Value
Type | Description |
---|---|
void |