Example #1
0
 public void Execute(ITaskRunner taskRunner)
 {
     foreach (ProductFile productFile in taskRunner.ListAllFinalProductFiles())
     {
         string destinationPath = Path.Combine(
             taskRunner.MapMakerSettings.OutputPath,
             Path.GetFileName(productFile.ProductFileName));
         File.Copy(productFile.ProductFileName, destinationPath, true);
         productFile.ProductFileName = destinationPath;
     }
 }