Skip to content

Instantly share code, notes, and snippets.

@wipiano
Created February 23, 2022 11:40
Show Gist options
  • Save wipiano/6e8daf45b208b7263a3ee2587a272256 to your computer and use it in GitHub Desktop.
Save wipiano/6e8daf45b208b7263a3ee2587a272256 to your computer and use it in GitHub Desktop.
my .NET 6 Directory.Build.props
<Project>
<PropertyGroup>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisMode>All</AnalysisMode>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="17.0.64" />
</ItemGroup>
<ItemGroup>
<AssemblyAttribute Include="System.CLSCompliant">
<_Parameter1>false</_Parameter1>
<_Parameter1_TypeName>System.Boolean</_Parameter1_TypeName>
</AssemblyAttribute>
</ItemGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment