1 write to SdkFeatureBand
Microsoft.DotNet.Build.Tasks.Workloads (1)
WorkloadManifestPackage.wix.cs (1)
84SdkFeatureBand = GetSdkFeatureBandVersion(GetSdkVersion(Id));
23 references to SdkFeatureBand
Microsoft.DotNet.Build.Tasks.Workloads (23)
CreateVisualStudioWorkload.wix.cs (17)
153if (!_supportsMachineArch.ContainsKey(manifestPackage.SdkFeatureBand)) 157_supportsMachineArch[manifestPackage.SdkFeatureBand] = manifestPackage.SupportsMachineArch; 159else if (_supportsMachineArch[manifestPackage.SdkFeatureBand] != manifestPackage.SupportsMachineArch) 163Log.LogWarning($"{_supportsMachineArch} was previously set to {_supportsMachineArch[manifestPackage.SdkFeatureBand]}"); 264_ = buildData[sourcePackage].FeatureBands[platform].Add(manifestPackage.SdkFeatureBand); 311SwixComponent component = SwixComponent.Create(manifestPackage.SdkFeatureBand, workload, manifest, packGroupId, 314SwixComponent previewComponent = SwixComponent.Create(manifestPackage.SdkFeatureBand, workload, manifest, packGroupId, 408if (_supportsMachineArch[manifestPackage.SdkFeatureBand] || !string.Equals(msiOutputItem.GetMetadata(Metadata.Platform), DefaultValues.arm64)) 410MsiSwixProject swixProject = _supportsMachineArch[manifestPackage.SdkFeatureBand] ? 411new(msiOutputItem, BaseIntermediateOutputPath, BaseOutputPath, manifestPackage.SdkFeatureBand, chip: null, machineArch: msiOutputItem.GetMetadata(Metadata.Platform), outOfSupport: IsOutOfSupportInVisualStudio) : 412new(msiOutputItem, BaseIntermediateOutputPath, BaseOutputPath, manifestPackage.SdkFeatureBand, chip: msiOutputItem.GetMetadata(Metadata.Platform), outOfSupport: IsOutOfSupportInVisualStudio); 416swixProjectItem.SetMetadata(Metadata.SdkFeatureBand, $"{manifestPackage.SdkFeatureBand}"); 437if (_supportsMachineArch[msi.Package.SdkFeatureBand] || !string.Equals(msiOutputItem.GetMetadata(Metadata.Platform), DefaultValues.arm64)) 441MsiSwixProject swixProject = _supportsMachineArch[msi.Package.SdkFeatureBand] ? 442new(msiOutputItem, BaseIntermediateOutputPath, BaseOutputPath, msi.Package.SdkFeatureBand, chip: null, machineArch: msiOutputItem.GetMetadata(Metadata.Platform)) : 443new(msiOutputItem, BaseIntermediateOutputPath, BaseOutputPath, msi.Package.SdkFeatureBand, chip: msiOutputItem.GetMetadata(Metadata.Platform)); 445swixProjectItem.SetMetadata(Metadata.SdkFeatureBand, $"{((WorkloadManifestPackage)msi.Package).SdkFeatureBand}");
Msi\WorkloadManifestMsi.wix.cs (4)
136Utils.CreateUuid(UpgradeCodeNamespaceUuid, $"{Package.ManifestId};{Package.SdkFeatureBand};{Platform}"); 138$"{Package.ManifestId},{Package.SdkFeatureBand},{Package.PackageVersion},{Platform}" : 139$"{Package.ManifestId},{Package.SdkFeatureBand},{Platform}"; 145candle.AddPreprocessorDefinition(PreprocessorDefinitionNames.SdkFeatureBandVersion, $"{Package.SdkFeatureBand}");
Swix\SwixPackageGroup.wix.cs (1)
29public SwixPackageGroup(WorkloadManifestPackage package) : this(package, package.SdkFeatureBand, package.SwixPackageGroupId)
WorkloadManifestPackage.wix.cs (1)
94SwixPackageGroupId = $"{DefaultValues.PackageGroupPrefix}.{ManifestId.Replace(shortNames)}.Manifest-{SdkFeatureBand.ToString(3)}";