Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public void RefreshWorkloadManifests()
_installStateFilePath = null;
_useManifestsFromInstallState = true;
var availableWorkloadSets = GetAvailableWorkloadSets(_sdkVersionBand);
var workloadSets80100 = GetAvailableWorkloadSets(new SdkFeatureBand("8.0.100"));

bool TryGetWorkloadSet(string workloadSetVersion, out WorkloadSet? workloadSet)
{
Expand All @@ -142,6 +143,13 @@ bool TryGetWorkloadSet(string workloadSetVersion, out WorkloadSet? workloadSet)
}
}

// The baseline workload sets were merged with a fixed 8.0.100 feature band. That means they will always be here
// regardless of where they would otherwise belong. This is a workaround for that.
if (workloadSets80100.TryGetValue(workloadSetVersion, out workloadSet))
{
return true;
}

workloadSet = null;
return false;
}
Expand Down