Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
30 lines (24 loc) · 676 Bytes

File metadata and controls

30 lines (24 loc) · 676 Bytes

Proj0016: Order project references alphabetically

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

Non-compliant

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

  <ItemGroup>
    <ProjectReference Include="LibraryB" />
    <ProjectReference Include="LibraryA" />
  </ItemGroup>
  
</Project>

Compliant

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

  <ItemGroup>
    <ProjectReference Include="LibraryA" />
    <ProjectReference Include="LibraryB" />
  </ItemGroup>
  
</Project>