1 write to DestinationDirectory
Microsoft.DotNet.Build.Tasks.Workloads (1)
WorkloadPackageBase.cs (1)
203
DestinationDirectory
= Path.Combine(destinationBaseDirectory, $"{Identity}");
18 references to DestinationDirectory
Microsoft.DotNet.Build.Tasks.Workloads (18)
Msi\WorkloadManifestMsi.wix.cs (1)
51
string packageDataDirectory = Path.Combine(Package.
DestinationDirectory
, "data");
Msi\WorkloadPackGroupMsi.wix.cs (1)
65
SourceDirectory = pack.
DestinationDirectory
,
Msi\WorkloadPackMsi.wix.cs (2)
40
SourceDirectory = _package.
DestinationDirectory
69
candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.SourceDir, $"{_package.
DestinationDirectory
}");
Msi\WorkloadSetMsi.wix.cs (1)
33
string packageDataDirectory = Path.Combine(_package.
DestinationDirectory
, "data");
WorkloadManifestPackage.wix.cs (2)
110
string primaryManifest = Path.Combine(
DestinationDirectory
, "data", ManifestFileName);
111
string secondaryManifest = Path.Combine(
DestinationDirectory
, ManifestFileName);
WorkloadPackageBase.cs (10)
234
Utils.DeleteDirectory(
DestinationDirectory
);
235
Directory.CreateDirectory(
DestinationDirectory
);
239
File.Copy(PackagePath, Path.Combine(
DestinationDirectory
, Path.GetFileName(PackagePath)), overwrite: true);
244
ZipFile.ExtractToDirectory(PackagePath,
DestinationDirectory
);
247
Utils.DeleteDirectory(Path.Combine(
DestinationDirectory
, "_rels"));
248
Utils.DeleteDirectory(Path.Combine(
DestinationDirectory
, "package"));
250
Utils.DeleteFile(Path.Combine(
DestinationDirectory
, ".signature.p7s"));
251
Utils.DeleteFile(Path.Combine(
DestinationDirectory
, "[Content_Types].xml"));
252
Utils.DeleteFile(Path.Combine(
DestinationDirectory
, $"{Id}.nuspec"));
256
foreach (string file in Directory.EnumerateFiles(
DestinationDirectory
, "*.*", SearchOption.AllDirectories))
WorkloadSetPackage.wix.cs (1)
100
string dataDirectory = Path.Combine(
DestinationDirectory
, "data");