forked from HdrHistogram/HdrHistogram.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
21 lines (17 loc) · 816 Bytes
/
Directory.Build.props
File metadata and controls
21 lines (17 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Project>
<PropertyGroup>
<!-- Enable nullable reference types repo-wide -->
<Nullable>enable</Nullable>
<!-- Explicit using directives (consistent with existing code style) -->
<ImplicitUsings>disable</ImplicitUsings>
<!-- Enforce .editorconfig style rules during build -->
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<!-- Enable built-in .NET analysers at recommended level -->
<AnalysisLevel>latest-recommended</AnalysisLevel>
</PropertyGroup>
<!-- netstandard2.0 defaults to C# 7.3 which does not support nullable reference types.
Raise LangVersion to 8.0 so that <Nullable>enable</Nullable> above is accepted. -->
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<LangVersion>8.0</LangVersion>
</PropertyGroup>
</Project>