1 write to _currentSdkFeatureBand
dotnet (1)
Commands\Workload\WorkloadInfoHelper.cs (1)
39
_currentSdkFeatureBand
= new SdkFeatureBand(currentSdkReleaseVersion);
8 references to _currentSdkFeatureBand
dotnet (8)
Commands\Workload\List\WorkloadListCommand.cs (1)
83
WorkloadManifestUpdater.ShouldUseWorkloadSetMode(_workloadListHelper.
_currentSdkFeatureBand
, _workloadListHelper.UserLocalPath);
Commands\Workload\WorkloadCommandParser.cs (1)
70
var useWorkloadSets = InstallStateContents.FromPath(Path.Combine(WorkloadInstallType.GetInstallStateFolder(workloadInfoHelper.
_currentSdkFeatureBand
, workloadInfoHelper.UserLocalPath), "default.json")).ShouldUseWorkloadSets();
Commands\Workload\WorkloadInfoHelper.cs (6)
57
_currentSdkFeatureBand
,
68
UserLocalPath = dotnetDir ?? (WorkloadFileBasedInstall.IsUserLocal(DotnetPath,
_currentSdkFeatureBand
.ToString()) ? userProfileDir : DotnetPath);
76
public IEnumerable<WorkloadId> InstalledSdkWorkloadIds => WorkloadRecordRepo.GetInstalledWorkloads(
_currentSdkFeatureBand
);
80
InstalledWorkloadsCollection installedWorkloads = new(sdkWorkloadIds, $"SDK {
_currentSdkFeatureBand
}");
94
if (new SdkFeatureBand(_targetSdkVersion).CompareTo(
_currentSdkFeatureBand
) < 0)
97
$"Version band of {_targetSdkVersion} --- {new SdkFeatureBand(_targetSdkVersion)} should not be smaller than current version band {
_currentSdkFeatureBand
}");