diff --git a/UnoCheck/Checkups/DotNetWorkloadsCheckup.cs b/UnoCheck/Checkups/DotNetWorkloadsCheckup.cs index 93f4fc3..6f61d3b 100644 --- a/UnoCheck/Checkups/DotNetWorkloadsCheckup.cs +++ b/UnoCheck/Checkups/DotNetWorkloadsCheckup.cs @@ -115,7 +115,7 @@ public override async Task Examine(SharedState history) if ( availablePackageWorkloads.FirstOrDefault(ip => ip.id.Equals(rp.WorkloadManifestId, StringComparison.OrdinalIgnoreCase) && NuGetVersion.TryParse(ip.version, out var ipVersion) && ipVersion >= rpVersion) is { id: not null } available - && installedWorkloads.Contains(rp.WorkloadManifestId) + && installedWorkloads.Contains(rp.Id) ) { ReportStatus($"{available.id} ({available.version}/{available.sdkVersion}) installed.", Status.Ok);