1 write to _package
Microsoft.DotNet.Build.Tasks.Workloads (1)
Msi\WorkloadPackMsi.wix.cs (1)
25
_package
= package;
10 references to _package
Microsoft.DotNet.Build.Tasks.Workloads (10)
Msi\WorkloadPackMsi.wix.cs (10)
19
protected override string BaseOutputName =>
_package
.ShortName;
32
string directoryReference =
_package
.Kind == WorkloadPackKind.Library ||
_package
.Kind == WorkloadPackKind.Template ?
40
SourceDirectory =
_package
.DestinationDirectory
62
Guid upgradeCode = Utils.CreateUuid(UpgradeCodeNamespaceUuid, $"{
_package
.Identity};{Platform}");
63
string providerKeyName = $"{
_package
.Id},{
_package
.PackageVersion},{Platform}";
65
candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.InstallDir, $"{GetInstallDir(
_package
.Kind)}");
68
candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.PackKind, $"{
_package
.Kind}");
69
candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.SourceDir, $"{
_package
.DestinationDirectory}");