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