-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
41 lines (35 loc) · 1.38 KB
/
Directory.Build.props
File metadata and controls
41 lines (35 loc) · 1.38 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
32
33
34
35
36
37
38
39
40
41
<Project>
<!-- Solution-wide properties -->
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
</PropertyGroup>
<!-- Warning and error handling -->
<PropertyGroup>
<!-- Treat warnings as errors in Release builds -->
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
<WarningsAsErrors Condition="'$(Configuration)' == 'Release'" />
<WarningsNotAsErrors Condition="'$(Configuration)' == 'Release'">NU1701;NU1702</WarningsNotAsErrors>
</PropertyGroup>
<!-- Code analysis settings -->
<PropertyGroup>
<!-- Enable additional analyzers -->
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunCodeAnalysis>false</RunCodeAnalysis>
<!-- Suppress analyzer warnings for now (can enable later) -->
<NoWarn>$(NoWarn);CA1014;CA2007</NoWarn>
</PropertyGroup>
<!-- Project metadata -->
<PropertyGroup>
<Company>ThingConnect</Company>
<Product>ThingConnect Pulse</Product>
<Copyright>Copyright © ThingConnect</Copyright>
<Version>0.1.0</Version>
<AssemblyVersion>0.1.0.0</AssemblyVersion>
<FileVersion>0.1.0.0</FileVersion>
</PropertyGroup>
</Project>