1 write to Metadata
Microsoft.DotNet.Build.Tasks.Workloads (1)
Msi\MsiBase.wix.cs (1)
131
Metadata
= metadata;
19 references to Metadata
Microsoft.DotNet.Build.Tasks.Workloads (19)
CreateVisualStudioWorkload.wix.cs (3)
348
MsiPayloadPackageProject csproj = new(msi.
Metadata
, msiOutputItem, BaseIntermediateOutputPath, BaseOutputPath, msi.NuGetPackageFiles);
395
MsiPayloadPackageProject csproj = new(msi.
Metadata
, msiOutputItem, BaseIntermediateOutputPath, BaseOutputPath, msi.NuGetPackageFiles);
456
MsiPayloadPackageProject csproj = new(msi.
Metadata
, msiOutputItem, BaseIntermediateOutputPath, BaseOutputPath, msi.NuGetPackageFiles);
CreateVisualStudioWorkloadSet.wix.cs (1)
73
MsiPayloadPackageProject csproj = new(msi.
Metadata
, msiOutputItem, BaseIntermediateOutputPath, BaseOutputPath, msi.NuGetPackageFiles);
Msi\MsiBase.wix.cs (12)
81
(!string.IsNullOrWhiteSpace(
Metadata
.Authors) && (
Metadata
.Authors.IndexOf("Microsoft", StringComparison.OrdinalIgnoreCase) < 0)) ?
82
Metadata
.Authors :
148
(string.IsNullOrWhiteSpace(
Metadata
.Title) ?
Metadata
.Id :
Metadata
.Title) + $" ({platform})";
156
File.WriteAllText(eulaRtf, s_eula.Replace(__LICENSE_URL__,
Metadata
.LicenseUrl));
175
candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.PackageId,
Metadata
.Id);
176
candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.PackageVersion, $"{
Metadata
.PackageVersion}");
180
candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.ProductVersion, $"{
Metadata
.MsiVersion}");
235
msiItem.SetMetadata(Workloads.Metadata.Version, $"{
Metadata
.MsiVersion}");
236
msiItem.SetMetadata(Workloads.Metadata.SwixPackageId,
Metadata
.SwixPackageId);
Msi\WorkloadPackGroupMsi.wix.cs (3)
20
protected override string BaseOutputName =>
Metadata
.Id;
127
Guid upgradeCode = Utils.CreateUuid(UpgradeCodeNamespaceUuid, $"{
Metadata
.Id};{Platform}");
128
string providerKeyName = $"{_package.Id},{
Metadata
.PackageVersion},{Platform}";