Directory.Build.targets (9 lines of code) (raw):

<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <Content Include="packages.lock.json" Visible="false" /> </ItemGroup> <PropertyGroup> <!-- Make sure any documentation comments which are included in code get checked for syntax during the build, but do not report warnings for missing comments. --> <NoWarn Condition="'$(Language)' == 'C#'">$(NoWarn),1573,1591,1712</NoWarn> </PropertyGroup> </Project>