.NET project file analyzers community

Proj0024: Order package versions alphabetically

<PackageVersion> nodes should be ordered alphabetically within a single <ItemGroup> in order to make it more human readable. When ordering the versions based on other criteria, consider grouping them in seperate <ItemGroup>s.

Non-compliant

<Project Sdk="Microsoft.NET.Sdk">

  <ItemGroup>
    <PackageVersion Include="StyleCop.Analyzers" Version="*" />
    <PackageVersion Include="Qowaiv.Analyzers.CSharp" Version="*" />
  </ItemGroup>
  
</Project>

Compliant

<Project Sdk="Microsoft.NET.Sdk">

  <ItemGroup>
    <PackageVersion Include="Qowaiv.Analyzers.CSharp" Version="*" />
    <PackageVersion Include="StyleCop.Analyzers" Version="*" />
  </ItemGroup>
  
</Project>