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