-
Notifications
You must be signed in to change notification settings - Fork 7
/
Directory.Build.props
35 lines (28 loc) · 1.26 KB
/
Directory.Build.props
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
32
33
34
35
<Project>
<PropertyGroup>
<!-- Use the latest version of C# available -->
<LangVersion>Latest</LangVersion>
<!-- Don't allow warnings -->
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Enabled the built-in analyzers -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisMode>All</AnalysisMode>
<!-- Use Directory.Packages.props to manage versions -->
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<DefaultItemExcludes>*log</DefaultItemExcludes>
<EnableDefaultNoneItems>false</EnableDefaultNoneItems>
<!-- Required for IDE0005 -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!--<NoWarn>$(NoWarn);SA0001</NoWarn>-->
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
<UseArtifactsOutput>true</UseArtifactsOutput>
<Deterministic>true</Deterministic>
</PropertyGroup>
<!-- StyleCop-->
<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" Visible="false" />
</ItemGroup>
</Project>