-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
50 lines (44 loc) · 2.04 KB
/
Directory.Build.props
File metadata and controls
50 lines (44 loc) · 2.04 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<Project>
<!-- Build configuration -->
<PropertyGroup>
<LangVersion>preview</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<EnableWindowsTargeting>True</EnableWindowsTargeting>
<Nullable>annotations</Nullable>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<OutputType>Library</OutputType>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)sgKey.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<IncludeSymbols>True</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<NoWarn>$(NoWarn);1591;NU1901;NU1902;NU1903;NU1904</NoWarn><!-- Missing XML comments + NuGet advisories -->
</PropertyGroup>
<!-- NuGet Metadata -->
<PropertyGroup>
<Authors>Bastian Eicher</Authors>
<Copyright>Copyright Bastian Eicher et al.</Copyright>
<RepositoryUrl>https://github.com/nano-byte/common</RepositoryUrl>
<PackageProjectUrl>https://common.nano-byte.net/</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<!-- Build-time dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.203" PrivateAssets="All" />
</ItemGroup>
<!-- Global usings -->
<ItemGroup>
<Using Include="System.ComponentModel" />
<Using Include="System.Diagnostics.CodeAnalysis" />
<Using Include="JetBrains.Annotations" />
<Using Include="NanoByte.Common.Collections" />
<Using Include="NanoByte.Common.Values" />
</ItemGroup>
<Sdk Name="Microsoft.DotNet.PackageValidation" Version="1.0.0-preview.7.21379.12" />
</Project>