1 write to Platform
Microsoft.DotNet.Build.Tasks.Workloads (1)
Msi\MsiBase.wix.cs (1)
125Platform = platform;
20 references to Platform
Microsoft.DotNet.Build.Tasks.Workloads (20)
Msi\MsiBase.wix.cs (5)
96protected string OutputName => $"{Utils.GetTruncatedHash(BaseOutputName, HashAlgorithmName.SHA256)}-{Platform}.msi"; 168CompilerToolTask candle = new(BuildEngine, WixToolsetPath, CompilerOutputPath, Platform); 177candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.Platform, Platform); 179candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.ProductName, GetProductName(Platform)); 233msiItem.SetMetadata(Workloads.Metadata.Platform, Platform);
Msi\WorkloadManifestMsi.wix.cs (6)
57Platform = this.Platform, 90Platform = this.Platform, 135Guid upgradeCode = IsSxS ? Utils.CreateUuid(UpgradeCodeNamespaceUuid, $"{Package.Identity};{Platform}") : 136Utils.CreateUuid(UpgradeCodeNamespaceUuid, $"{Package.ManifestId};{Package.SdkFeatureBand};{Platform}"); 138$"{Package.ManifestId},{Package.SdkFeatureBand},{Package.PackageVersion},{Platform}" : 139$"{Package.ManifestId},{Package.SdkFeatureBand},{Platform}";
Msi\WorkloadPackGroupMsi.wix.cs (3)
64Platform = this.Platform, 127Guid upgradeCode = Utils.CreateUuid(UpgradeCodeNamespaceUuid, $"{Metadata.Id};{Platform}"); 128string providerKeyName = $"{_package.Id},{Metadata.PackageVersion},{Platform}";
Msi\WorkloadPackMsi.wix.cs (3)
39Platform = this.Platform, 62Guid upgradeCode = Utils.CreateUuid(UpgradeCodeNamespaceUuid, $"{_package.Identity};{Platform}"); 63string providerKeyName = $"{_package.Id},{_package.PackageVersion},{Platform}";
Msi\WorkloadSetMsi.wix.cs (3)
39Platform = this.Platform, 58Guid upgradeCode = Utils.CreateUuid(UpgradeCodeNamespaceUuid, $"{_package.Identity};{Platform}"); 59string providerKeyName = $"Microsoft.NET.Workload.Set,{_package.SdkFeatureBand},{_package.PackageVersion},{Platform}";