dotnet / project-system

The .NET Project System for Visual Studio
MIT License
968 stars 386 forks source link

Use the correct string comparer in MSBuildDependencyCollection #9361

Closed drewnoakes closed 8 months ago

drewnoakes commented 8 months ago

Fixes #9360

This fixes an issue where dependencies having different capitalisation between unresolved and resolved forms can cause multiple entries in the collection for the same dependency, where one of those may be out of date, causing a previous error to still be reported at the group level, despite only one dependency tree item being shown for the pair.

Microsoft Reviewers: Open in CodeFlow