forked from Nihlus/Remora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
115 lines (102 loc) · 3.61 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
<!--
This file contains common properties for all Remora projects. It is divided into multiple sections, depending on the
use case for the properties.
-->
<Project>
<!-- Common properties for all projects -->
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Deterministic>true</Deterministic>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup>
<SolutionDir>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)/))</SolutionDir>
</PropertyGroup>
<!-- NuGet-related properties -->
<PropertyGroup>
<Title>$(AssemblyName)</Title>
<Authors>Jarl Gullberg</Authors>
<Copyright>Jarl Gullberg 2020</Copyright>
<Company>Firwood Software</Company>
<PackageLicenseExpression>AGPL-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</RepositoryUrl>
<RepositoryBranch>master</RepositoryBranch>
<PackageOutputPath>$(SolutionDir)/nuget</PackageOutputPath>
<PackageProjectUrl>https://github.com/Nihlus/Remora</PackageProjectUrl>
<PackageTags>remora</PackageTags>
</PropertyGroup>
<!-- Code inspection properties -->
<PropertyGroup>
<StyleCopRuleset>$(SolutionDir)/stylecop.ruleset</StyleCopRuleset>
<StyleCopConfiguration>$(SolutionDir)/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;
</WarningsAsErrors>
<NoWarn>
CS8632;
</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.321" PrivateAssets="all" />
<PackageReference Include="Nullable" Version="1.3.0" 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.0" PrivateAssets="All"/>
</ItemGroup>
</Project>