forked from ClosedXML/ClosedXML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
58 lines (48 loc) · 2.98 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
49
50
51
52
53
54
55
56
57
58
<Project>
<!-- Set the repository root into a variable -->
<PropertyGroup>
<SourceRoot>$(MSBuildThisFileDirectory)</SourceRoot>
</PropertyGroup>
<PropertyGroup>
<Version>0.104.0-preview3</Version>
</PropertyGroup>
<!-- Set common properties regarding assembly information and nuget packages -->
<PropertyGroup>
<Product>ClosedXML</Product>
<Authors>Jan Havlíček, Francois Botha, Aleksei Pankratev, Manuel de Leon, Amir Ghezelbash</Authors>
<Owners>Jan Havlíček, Francois Botha, Aleksei Pankratev</Owners>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/ClosedXML/ClosedXML</PackageProjectUrl>
<PackageIcon>nuget-logo.png</PackageIcon>
<PackageTags>Excel OpenXml xlsx</PackageTags>
<Description>See release notes https://github.com/ClosedXML/ClosedXML/releases/tag/$(productVersion) ClosedXML is a .NET library for reading, manipulating and writing Excel 2007+ (.xlsx, .xlsm) files. It aims to provide an intuitive and user-friendly interface to dealing with the underlying OpenXML API.</Description>
<PackageReleaseNotes>See https://github.com/ClosedXML/ClosedXML/releases/tag/$(productVersion)</PackageReleaseNotes>
<RepositoryUrl>https://github.com/ClosedXML/ClosedXML</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<!-- Sourcelink: https://github.com/dotnet/sourcelink/ -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- Nuget won't accept dll in nuget and pdb in snupkg because they have different checksum.
That is likely causes by Fody https://github.com/jbevain/cecil/issues/610. In the meantime,
just include pdb directly to nuget. Pdb also has to embed untracked sources (likely sources
for Polyfill package, because they are not a stored in repository). -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<LangVersion>9.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);NU1605;CS1591</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- RBush is not strongly named and won't be. Disable signing, until I make a strongly named fork of RBush -->
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile>$(SourceRoot)/ClosedXML.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<!-- Make deterministic build (same binary is produced regardless of the machine building it) for CI -->
<PropertyGroup Condition="'$(APPVEYOR)' != ''">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<!-- Additional properties that might not be applicable to a local dev environment -->
<PropertyGroup>
<DefineConstants>$(AppVeyor)</DefineConstants>
</PropertyGroup>
</Project>