1 write to Version
Microsoft.NET.Sdk.WorkloadManifestReader (1)
WorkloadSet.cs (1)
105workloadSet.Version = workloadSetVersion;
7 references to Version
Microsoft.NET.Sdk.WorkloadManifestReader (7)
SdkDirectoryWorkloadManifestProvider.cs (7)
278throw new InvalidOperationException(string.Format(Strings.WorkloadSetHasMissingManifests, _workloadSet.Version)); 297if (_workloadSet?.Version is not null) 299return new WorkloadVersionInfo(_workloadSet.Version, IsInstalled: true, WorkloadSetsEnabledWithoutWorkloadSet: false, GlobalJsonSpecifiesWorkloadSets: _globalJsonSpecifiedWorkloadSets); 334throw new InvalidOperationException(string.Format(Strings.WorkloadSetHasMissingManifests, _workloadSet.Version)); 416throw new FileNotFoundException(string.Format(Strings.ManifestFromWorkloadSetNotFound, manifestSpecifier.ToString(), _workloadSet.Version)); 644if (!WorkloadSet.GetWorkloadSetFeatureBand(workloadSet.Version!).Equals(featureBand)) 651availableWorkloadSets[workloadSet.Version!] = workloadSet;