29 references to PreprocessorDefinitionNames
Microsoft.DotNet.Build.Tasks.Workloads (29)
Msi\MsiBase.wix.cs (8)
173
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.EulaRtf, GenerateEula());
174
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.Manufacturer, Manufacturer);
175
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.PackageId, Metadata.Id);
176
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.PackageVersion, $"{Metadata.PackageVersion}");
177
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.Platform, Platform);
178
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.ProductCode, $"{Guid.NewGuid():B}");
179
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.ProductName, GetProductName(Platform));
180
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.ProductVersion, $"{Metadata.MsiVersion}");
Msi\WorkloadManifestMsi.wix.cs (6)
142
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.UpgradeCode, $"{upgradeCode:B}");
143
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.DependencyProviderKeyName, $"{providerKeyName}");
144
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.SourceDir, $"{packageDataDirectory}");
145
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.SdkFeatureBandVersion, $"{Package.SdkFeatureBand}");
146
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.InstallationRecordKey, $"InstalledManifests");
150
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.ManifestId, $"{Package.ManifestId.ToLowerInvariant()}");
Msi\WorkloadPackGroupMsi.wix.cs (3)
130
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.UpgradeCode, $"{upgradeCode:B}");
131
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.DependencyProviderKeyName, $"{providerKeyName}");
132
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.InstallationRecordKey, $"InstalledPackGroups");
Msi\WorkloadPackMsi.wix.cs (6)
65
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.InstallDir, $"{GetInstallDir(_package.Kind)}");
66
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.UpgradeCode, $"{upgradeCode:B}");
67
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.DependencyProviderKeyName, $"{providerKeyName}");
68
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.PackKind, $"{_package.Kind}");
69
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.SourceDir, $"{_package.DestinationDirectory}");
70
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.InstallationRecordKey, $"InstalledPacks");
Msi\WorkloadSetMsi.wix.cs (6)
62
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.UpgradeCode, $"{upgradeCode:B}");
63
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.DependencyProviderKeyName, $"{providerKeyName}");
64
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.SourceDir, $"{packageDataDirectory}");
65
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.SdkFeatureBandVersion, $"{_package.SdkFeatureBand}");
66
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.WorkloadSetVersion, $"{_package.WorkloadSetVersion}");
67
candle.AddPreprocessorDefinition(
PreprocessorDefinitionNames
.InstallationRecordKey, $"InstalledWorkloadSets");