1 write to _currentSdkFeatureBand
dotnet (1)
Commands\Workload\WorkloadInfoHelper.cs (1)
38
_currentSdkFeatureBand
= new SdkFeatureBand(currentSdkReleaseVersion);
8 references to _currentSdkFeatureBand
dotnet (8)
Commands\Workload\List\WorkloadListCommand.cs (1)
85
WorkloadManifestUpdater.ShouldUseWorkloadSetMode(_workloadListHelper.
_currentSdkFeatureBand
, _workloadListHelper.UserLocalPath);
Commands\Workload\WorkloadInfoHelper.cs (7)
59
_currentSdkFeatureBand
,
70
UserLocalPath = dotnetDir ?? (WorkloadFileBasedInstall.IsUserLocal(DotnetPath,
_currentSdkFeatureBand
.ToString()) ? userProfileDir : DotnetPath);
78
public IEnumerable<WorkloadId> InstalledSdkWorkloadIds => WorkloadRecordRepo.GetInstalledWorkloads(
_currentSdkFeatureBand
);
82
InstalledWorkloadsCollection installedWorkloads = new(sdkWorkloadIds, $"SDK {
_currentSdkFeatureBand
}");
96
if (new SdkFeatureBand(_targetSdkVersion).CompareTo(
_currentSdkFeatureBand
) < 0)
99
$"Version band of {_targetSdkVersion} --- {new SdkFeatureBand(_targetSdkVersion)} should not be smaller than current version band {
_currentSdkFeatureBand
}");
133
var useWorkloadSets = InstallStateContents.FromPath(Path.Combine(WorkloadInstallType.GetInstallStateFolder(
_currentSdkFeatureBand
, UserLocalPath), "default.json")).ShouldUseWorkloadSets();