-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
27 lines (23 loc) · 1.03 KB
/
Copy pathDirectory.Build.props
File metadata and controls
27 lines (23 loc) · 1.03 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
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisLevel>latest</AnalysisLevel>
<Deterministic>true</Deterministic>
<NoWarn>$(NoWarn);CA1014</NoWarn>
</PropertyGroup>
<!-- Versioning. The real version comes from the nearest git release tag (see
Directory.Build.targets → SetVersionFromGit). This is only the fallback
for builds without git / tags, so a tarball build never shows 1.0.0.0. -->
<PropertyGroup>
<Version>0.1.9</Version>
<!-- We set a clean InformationalVersion ourselves; suppress the SDK's
"+<commit-sha>" suffix so About shows just the tag. -->
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' != 'netstandard2.1'">
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>