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