-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
19 lines (18 loc) · 870 Bytes
/
Directory.Build.props
File metadata and controls
19 lines (18 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<Project>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Enable NuGet package lock files for supply chain security -->
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Enable SDK analyzers in CI builds -->
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisLevel>latest-recommended</AnalysisLevel>
</PropertyGroup>
<ItemGroup>
<!-- Roslynator: 500+ analyzers, refactorings, fixes -->
<PackageReference Include="Roslynator.Analyzers" PrivateAssets="All" />
<!-- Meziantou: async patterns, string culture, modern .NET best practices -->
<PackageReference Include="Meziantou.Analyzer" PrivateAssets="All" />
</ItemGroup>
</Project>