-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
42 lines (39 loc) · 2.16 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
<Project>
<PropertyGroup>
<!-- General -->
<RepositoryPath>crowded/media-types</RepositoryPath>
<Version>1.0.5</Version>
<Description> A media types library for Windows, Linux, and MacOS. </Description>
<Copyright>Copyright 2020 Crowded</Copyright>
<Authors>Nino Floris and contributors</Authors>
<NeutralLanguage>en-US</NeutralLanguage>
<!-- Build settings -->
<SolutionDir>$(MSBuildThisFileDirectory)</SolutionDir>
<DebugType>portable</DebugType>
<OutputType>Library</OutputType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Disable implicitly importing targets, we have no need for it now. -->
<ImportDirectoryBuildTargets>false</ImportDirectoryBuildTargets>
<!-- Don't make missing XML docs a fatal build error, only surface them as warnings. -->
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS1591</WarningsNotAsErrors>
<DesignTimeBuild Condition="'$(DesignTimeBuild)' == '' AND '$(BuildingByReSharper)' == 'true'">true</DesignTimeBuild>
<!-- NuGet settings -->
<PackageTags>Media types;magic bytes;libmagic;magic;MIME</PackageTags>
<RepositoryUrl>https://github.com/$(RepositoryPath)</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<HasProjectPage>false</HasProjectPage>
<PackageProjectUrl Condition="'$(HasProjectPage)' == 'true'">$(RepositoryUrl)</PackageProjectUrl>
<PackageReleaseNotes>https://raw.githubusercontent.com/$(RepositoryPath)/master/RELEASE_NOTES.md</PackageReleaseNotes>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<!-- Create .snupkg -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- Include the PDB in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.*" PrivateAssets="All" />
</ItemGroup>
</Project>