-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
24 lines (21 loc) · 873 Bytes
/
Directory.Build.props
File metadata and controls
24 lines (21 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!-- see https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-by-directory -->
<!-- see https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/overview -->
<Project>
<PropertyGroup>
<!-- Code analysis -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>10-all</AnalysisLevel>
<!-- Warnings and errors -->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Features>strict</Features>
<!--
NU1903: Package 'XXX' 1.1.1 has a known high severity vulnerability
-->
<WarningsNotAsErrors>NU1903</WarningsNotAsErrors>
</PropertyGroup>
<ItemGroup>
<AdditionalFiles Include="$(SolutionDir)BannedSymbols.SolutionWide.txt" />
</ItemGroup>
</Project>