Skip to content
Next Next commit
Show workload version even if no workload set is installed
  • Loading branch information
dsplaisted committed Mar 18, 2024
commit 90cd2f5e826b2c394005c76e69f4f7b0a8b7345e
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,6 @@ public void RefreshWorkloadManifests()
return _workloadSet?.Version!;
}

if (InstallStateContents.FromPath(Path.Combine(WorkloadInstallType.GetInstallStateFolder(_sdkVersionBand, _sdkRootPath), "default.json")).UseWorkloadSets == true)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'd want this to change to echo the version for the current SDK, per our discussion this morning.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've filed an issue to track the further changes needed: #40005

{
return null;
}

using (SHA256 sha256Hash = SHA256.Create())
{
byte[] bytes = sha256Hash.ComputeHash(Encoding.UTF8.GetBytes(string.Join(";",
Expand Down