-
-
Notifications
You must be signed in to change notification settings - Fork 138
/
Directory.Build.props
125 lines (110 loc) · 3.86 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
<!--
This file contains common properties for all DIGOS.Ambassador 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>
<TargetFramework>net8.0</TargetFramework>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
</PropertyGroup>
<PropertyGroup>
<SolutionDir>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)/))</SolutionDir>
</PropertyGroup>
<Choose>
<When Condition="'$(TargetFramework.TrimEnd(`0123456789.`))' == 'netcoreapp'">
<PropertyGroup>
<IsRunnableTarget>true</IsRunnableTarget>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<IsRunnableTarget>false</IsRunnableTarget>
</PropertyGroup>
</Otherwise>
</Choose>
<!-- NuGet-related properties -->
<PropertyGroup>
<Title>$(AssemblyName)</Title>
<Authors>Jarl Gullberg</Authors>
<Copyright>Jarl Gullberg 2020</Copyright>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
<RepositoryUrl>https://github.com/Nihlus/Launchpad</RepositoryUrl>
<RepositoryBranch>master</RepositoryBranch>
<PackageOutputPath>$(SolutionDir)/nuget</PackageOutputPath>
<PackageProjectUrl>https://github.com/Nihlus/Launchpad</PackageProjectUrl>
<PackageTags>launcher;game;free;</PackageTags>
</PropertyGroup>
<!-- Code inspection properties -->
<PropertyGroup>
<StyleCopRuleset>$(SolutionDir)/stylecop.ruleset</StyleCopRuleset>
<StyleCopConfiguration>$(SolutionDir)/stylecop.json</StyleCopConfiguration>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<RunCodeAnalysis>true</RunCodeAnalysis>
<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;
</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.164" PrivateAssets="all" />
<PackageReference Include="Nullable" Version="1.3.1" PrivateAssets="all" />
</ItemGroup>
<!-- JetBrains Annotations -->
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="all" />
</ItemGroup>
</Project>