Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 4678f4a

Browse files
committed
Fixed orderby evaluation
Had used Value twice instead of Key for the second part.
1 parent 9193158 commit 4678f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/buildtasks/support-annotations/VerifyVersionsTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public override bool Execute()
8585

8686
var recommendedSupportVersion = NugetPackages.GetRecommendedSupportPackageVersion(apiLevel);
8787

88-
foreach (var pkg in packageVersions.OrderBy(p => p.Value + "-" + p.Value))
88+
foreach (var pkg in packageVersions.OrderBy(p => p.Value + "-" + p.Key))
8989
sb.AppendLine($" {pkg.Key} ({pkg.Value})");
9090

9191
sb.AppendLine();

0 commit comments

Comments
 (0)