.NET project file analyzers community

Proj0007: Remove empty nodes

Empty nodes only add noise, as they contain no information.

Non-compliant

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

  <PropertyGroup />

  <ItemGroup>
  </ItemGroup>

</Project>

Compliant

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

  <Import Project="../../props/common.props" />

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="DotNetProjectFile.Analyzers" Version="* PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />	
  </ItemGroup>

</Project>