13 references to DestinationDirectory
sdk-tasks (13)
ExtractArchiveToDirectory.cs (13)
46if (Directory.Exists(DestinationDirectory) && CleanDestination == true) 48Log.LogMessage(MessageImportance.Low, "'{0}' already exists, trying to delete before unzipping...", DestinationDirectory); 49Directory.Delete(DestinationDirectory, recursive: true); 61Log.LogMessage($"Creating Directory {DestinationDirectory}"); 62Directory.CreateDirectory(DestinationDirectory); 87string fullDestDirPath = GetFullDirectoryPathWithSeperator(DestinationDirectory); 93string destinationPath = Path.GetFullPath(Path.Combine(DestinationDirectory, entry.FullName)); 116string fullDestDirPath = GetFullDirectoryPathWithSeperator(DestinationDirectory); 128string destinationPath = Path.GetFullPath(Path.Combine(DestinationDirectory, entryName)); 151ZipFile.ExtractToDirectory(SourceArchive, DestinationDirectory, overwriteFiles: true); 173Log.LogMessage($"Deleting Directory {DestinationDirectory}"); 174Directory.Delete(DestinationDirectory); 208protected override string GenerateCommandLineCommands() => $"xf {SourceArchive} -C {DestinationDirectory}";