-
Notifications
You must be signed in to change notification settings - Fork 2
/
Directory.Build.props
48 lines (37 loc) · 1.91 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
36
37
38
39
40
41
42
43
44
45
46
47
48
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configurations>Debug;Release</Configurations>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<Features>strict</Features>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<WarningLevel>9999</WarningLevel>
<ErrorReport>prompt</ErrorReport>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
<AnalysisLevel>preview-All</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<ReportAnalyzer>true</ReportAnalyzer>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<ArtifactsPath>$(MSBuildThisFileDirectory).build</ArtifactsPath>
<ArtifactsPivots>$(Configuration)</ArtifactsPivots>
</PropertyGroup>
<ItemGroup Label="External Code Analyzers">
<PackageReference Include="Lindhart.Analyser.MissingAwaitWarning">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>build; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>build; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>