-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
31 lines (29 loc) · 1.48 KB
/
Copy pathDirectory.Build.props
File metadata and controls
31 lines (29 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<!-- Static analysis (Stage 0 baseline): built-in .NET analyzers as warnings only.
AnalysisLevel=latest = recommended default rule set (not the noisy -all set).
Build is intentionally NOT failed yet (TreatWarningsAsErrors stays false). -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Authors>JAM Software</Authors>
<Product>Blocks Beyond the Stars</Product>
</PropertyGroup>
<!-- Stage 1: curated third-party analyzers (warnings only; severities tuned in .editorconfig).
Meziantou = bug/perf defaults; VS.Threading = async/await + threading correctness. -->
<ItemGroup>
<PackageReference Include="Meziantou.Analyzer" Version="3.0.105">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.14.15">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>