Skip to content

Commit

Permalink
Update condition to be strictly less than
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelink committed May 23, 2022
1 parent 9a2a106 commit 2bb119d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ private static VSTestConsoleInfo GetVSTestConsoleInfo(string vstestConsoleVersio
var version = node?.InnerText.Replace("[", "").Replace("]", "") ?? "--WRONG-VERSION--";
var vstestConsolePath = runnerInfo.IsNetFrameworkRunner switch
{
true when NuGetVersion.TryParse(version, out var v) && v <= new NuGetVersion("17.3") => GetToolsPath("net451"),
true when NuGetVersion.TryParse(version, out var v) && v < new NuGetVersion("17.3") => GetToolsPath("net451"),
true => GetToolsPath("net462"),
false when version.StartsWith("15.") => GetContentFilesPath("netcoreapp2.0"),
false => GetContentFilesPath("netcoreapp2.1"),
Expand Down

0 comments on commit 2bb119d

Please sign in to comment.