diff --git a/CHANGELIST.md b/CHANGELIST.md index 1a3bb5d5..3233d94f 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -8,6 +8,7 @@ - Skip extra tracks during checking - Modify the track count on checking - Attempt to match universal hash +- Fix .NET Framework 4.8 build ### 2.6.1 (2023-07-19) diff --git a/MPF.Library/InfoTool.cs b/MPF.Library/InfoTool.cs index 0e803ea5..d996d388 100644 --- a/MPF.Library/InfoTool.cs +++ b/MPF.Library/InfoTool.cs @@ -2324,7 +2324,11 @@ namespace MPF.Library // If we don't have any matches but we have a universal hash if (!info.PartiallyMatchedIDs.Any() && info.CommonDiscInfo.CommentsSpecialFields.ContainsKey(SiteCode.UniversalHash)) { +#if NET48 || NETSTANDARD2_1 + (bool singleFound, List foundIds) = ValidateUniversalHash(wc, info, resultProgress); +#else (bool singleFound, List foundIds) = await ValidateUniversalHash(wc, info, resultProgress); +#endif // Ensure that the hash is found allFound = singleFound;