diff --git a/src/Microsoft.TestPlatform.Utilities/InferRunSettingsHelper.cs b/src/Microsoft.TestPlatform.Utilities/InferRunSettingsHelper.cs index 6087dbb2e4..dfe536b2b2 100644 --- a/src/Microsoft.TestPlatform.Utilities/InferRunSettingsHelper.cs +++ b/src/Microsoft.TestPlatform.Utilities/InferRunSettingsHelper.cs @@ -657,7 +657,7 @@ public static IEnumerable FilterCompatibleSources(Architecture chosenPla List compatibleSources = new(); StringBuilder warnings = new(); warnings.AppendLine(); - bool incompatiblityFound = false; + bool incompatibilityFound = false; foreach (var source in sourcePlatforms.Keys) { Architecture actualPlatform = sourcePlatforms[source]; @@ -667,10 +667,10 @@ public static IEnumerable FilterCompatibleSources(Architecture chosenPla { var onlyFileName = Path.GetFileName(source); // Add message for incompatible sources. - var incompatiblityMessage = string.Format(CultureInfo.CurrentCulture, OMResources.SourceIncompatible, onlyFileName, actualFramework.Name, actualPlatform); + var incompatibilityMessage = string.Format(CultureInfo.CurrentCulture, OMResources.SourceIncompatible, onlyFileName, actualFramework.Name, actualPlatform); - warnings.AppendLine(incompatiblityMessage); - incompatiblityFound = true; + warnings.AppendLine(incompatibilityMessage); + incompatibilityFound = true; } else { @@ -678,7 +678,7 @@ public static IEnumerable FilterCompatibleSources(Architecture chosenPla } } - if (incompatiblityFound) + if (incompatibilityFound) { incompatibleSettingWarning = string.Format(CultureInfo.CurrentCulture, OMResources.DisplayChosenSettings, chosenFramework, chosenPlatform, warnings.ToString(), MultiTargetingForwardLink); }