forked from Remora/Remora.Discord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
133 lines (117 loc) · 4.27 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!--
This file contains common properties for all projects. It is divided into multiple sections, depending on the use
case for the properties.
-->
<Project>
<!-- Common properties for all projects -->
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Deterministic>true</Deterministic>
<DebugSymbols>true</DebugSymbols>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
</PropertyGroup>
<!-- NuGet-related properties -->
<PropertyGroup>
<Title>$(AssemblyName)</Title>
<Authors>Jarl Gullberg</Authors>
<Copyright>Jarl Gullberg 2020</Copyright>
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<EmbedAllSources>true</EmbedAllSources>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<RepositoryUrl>https://github.com/Nihlus/Remora.Discord</RepositoryUrl>
<RepositoryBranch>master</RepositoryBranch>
<PackageOutputPath>$(MSBuildThisFileDirectory)nuget</PackageOutputPath>
<PackageProjectUrl>https://github.com/Nihlus/Remora.Discord</PackageProjectUrl>
<PackageTags>discord;bot;api;</PackageTags>
<PackageIcon>shark.png</PackageIcon>
<BaseDescription>
Remora.Discord is a .NET library for the Discord API, built for performance, reliability, and concurrency.
</BaseDescription>
</PropertyGroup>
<!-- Code inspection properties -->
<PropertyGroup>
<StyleCopRuleset>$(MSBuildThisFileDirectory)stylecop.ruleset</StyleCopRuleset>
<StyleCopConfiguration>$(MSBuildThisFileDirectory)stylecop.json</StyleCopConfiguration>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<CodeAnalysisRuleSet>$(StyleCopRuleset)</CodeAnalysisRuleSet>
<WarningsAsErrors>
CS8600;
CS8601;
CS8602;
CS8603;
CS8604;
CS8608;
CS8609;
CS8610;
CS8611;
CS8612;
CS8613;
CS8614;
CS8615;
CS8616;
CS8617;
CS8618;
CS8619;
CS8620;
CS8621;
CS8622;
CS8625;
CS8626;
CS8629;
CS8631;
CS8633;
CS8634;
CS8638;
CS8639;
CS8643;
CS8644;
CS8645;
CS8762;
CS8765;
</WarningsAsErrors>
<NoWarn>
CS8632;
AD0001;
</NoWarn>
</PropertyGroup>
<ItemGroup>
<AdditionalFiles Include="$(StyleCopConfiguration)">
<Link>stylecop.json</Link>
<InProject>false</InProject>
</AdditionalFiles>
<AdditionalFiles Include="$(StyleCopRuleset)">
<Link>stylecop.ruleset</Link>
<InProject>false</InProject>
</AdditionalFiles>
</ItemGroup>
<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.312" PrivateAssets="all" />
</ItemGroup>
<!-- Language support packages -->
<ItemGroup>
<PackageReference Include="Nullable" Version="1.3.0" PrivateAssets="all" />
<PackageReference Include="IsExternalInit" Version="1.0.1" PrivateAssets="all" />
</ItemGroup>
<!-- JetBrains Annotations -->
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2021.3.0" PrivateAssets="all" />
</ItemGroup>
<!-- SourceLink -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>
<!-- NuGet Icon -->
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)images/shark.png" Pack="true" PackagePath="/">
<Link>shark.png</Link>
<InProject>false</InProject>
</None>
</ItemGroup>
</Project>