.NET project file analyzers community

Proj1000: Use the .NET project file analyzers

The purpose of this rule is detect the absence of the .NET project file analyzers. This can be achieved by adding the analyzers to the Directory.Build.targets.

Compliant

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

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

</Project>