-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
31 lines (26 loc) · 1.33 KB
/
Directory.Build.props
File metadata and controls
31 lines (26 loc) · 1.33 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>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>14</LangVersion>
<DotPilotVersionPrefix Condition="'$(DotPilotVersionPrefix)' == ''">0.0</DotPilotVersionPrefix>
<DotPilotBuildNumber Condition="'$(DotPilotBuildNumber)' == ''">1</DotPilotBuildNumber>
<DotPilotReleaseVersion Condition="'$(DotPilotReleaseVersion)' == ''">$(DotPilotVersionPrefix)</DotPilotReleaseVersion>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!--
Adding NoWarn to remove build warnings
NU1507: Warning when there are multiple package sources when using CPM with no source mapping
NETSDK1201: Warning that specifying RID won't create self containing app
PRI257: Ignore default language (en) not being one of the included resources (eg en-us, en-uk)
-->
<NoWarn>$(NoWarn);NU1507;NETSDK1201;PRI257</NoWarn>
</PropertyGroup>
<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)CodeMetricsConfig.txt"
Link="CodeMetricsConfig.txt"
Condition="Exists('$(MSBuildThisFileDirectory)CodeMetricsConfig.txt')" />
</ItemGroup>
</Project>