forked from nodatime/nodatime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
48 lines (43 loc) · 2.12 KB
/
Directory.Build.props
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
42
43
44
45
46
47
48
<Project>
<PropertyGroup>
<!--
- The most recently-released version. This is the last
- thing to change before performing a release.
-->
<Version>3.1.0</Version>
<!--
- The version we check for compatibility against. This is changed
- immediately *after* a release.
-->
<PackageValidationBaselineVersion>3.1.0</PackageValidationBaselineVersion>
</PropertyGroup>
<!-- Common properties across all projects (or ones that at least aren't harmful) -->
<PropertyGroup>
<!-- Make the repository root available for other properties -->
<RepoRoot>$([System.IO.Path]::GetDirectoryName('$(MSBuildThisFileDirectory)'))</RepoRoot>
<!-- Build properties -->
<AssemblyOriginatorKeyFile>$(RepoRoot)/NodaTime Release.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<GenerateNeutralResourcesLanguageAttribute>false</GenerateNeutralResourcesLanguageAttribute>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<Deterministic>True</Deterministic>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
<!-- Packaging properties -->
<PackageTags>date;time;timezone;calendar;nodatime</PackageTags>
<PackageProjectUrl>https://nodatime.org/</PackageProjectUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/nodatime/nodatime</RepositoryUrl>
<!-- Most of our projects aren't packable, and this is a safe default.
- We enable packing explicitly for NodaTime and NodaTime.Testing. -->
<IsPackable>False</IsPackable>
<!-- Properties to get SourceLink to work -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Always enable InheritDoc, even in debug builds -->
<InheritDocEnabled>true</InheritDocEnabled>
</PropertyGroup>
</Project>