-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
28 lines (25 loc) · 1.08 KB
/
Directory.Build.props
File metadata and controls
28 lines (25 loc) · 1.08 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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<!-- Set the root directory as the solution directory -->
<PropertyGroup>
<SolutionDirectory>$(MSBuildThisFileDirectory)</SolutionDirectory>
</PropertyGroup>
<!-- Standardize compilation settings -->
<PropertyGroup>
<NeutralLanguage>en</NeutralLanguage>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>1.9.1</Version>
</PropertyGroup>
<!-- Setup Code Analysis using the .editorconfig file -->
<PropertyGroup>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<AnalysisLevel>latest</AnalysisLevel>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningsAsErrors>nullable</WarningsAsErrors>
</PropertyGroup>
</Project>