Skip to content

Commit

Permalink
Ignore case when sorting configurations in vsproj
Browse files Browse the repository at this point in the history
  • Loading branch information
belkiss committed Apr 2, 2022
1 parent 1cbb816 commit 867fe2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sharpmake.Generators/VisualStudio/VsUtil.cs
Expand Up @@ -30,7 +30,7 @@ string projectFileFullPath
{
// Need to sort by name and platform
var configurations = new List<Project.Configuration>();
configurations.AddRange(unsortedConfigurations.OrderBy(conf => conf.Name + Util.GetPlatformString(conf.Platform, conf.Project, conf.Target)));
configurations.AddRange(unsortedConfigurations.OrderBy(conf => conf.Name + Util.GetPlatformString(conf.Platform, conf.Project, conf.Target), StringComparer.OrdinalIgnoreCase));

// Make sure that all configurations use the same project name,
// and validate that 2 conf in the same project have a distinct tuple name + platform
Expand Down

0 comments on commit 867fe2f

Please sign in to comment.