Used by the .net core implementation to copy files copied relative to the output directory to the same locations relative to the instrumented files folder.
Not intended for general use, but see the AltCover.targets
file for how it is used around the test stage.
public class ContingentCopy : Task
name | description |
---|---|
ContingentCopy() | The default constructor |
BuildOutputDirectory { get; set; } | The base of the relative from directory |
CopyToOutputDirectory { get; set; } | The file copying property (if empty, then no-op) |
FileName { get; set; } | The name of the file |
InstrumentDirectory { get; set; } | The base of the relative to directory |
ProjectDir { get; set; } | The project directory for basing relative paths from (possibly empty; ignored if not an absolute path) |
RelativeDir { get; set; } | The file relative location (if empty, then no-op) |
override Execute() | Perform the operation |