-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
64 lines (56 loc) · 2.56 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
<Project>
<!-- Set the repository root into a variable -->
<PropertyGroup>
<SourceRoot>$(MSBuildThisFileDirectory)</SourceRoot>
</PropertyGroup>
<!-- Set common properties regarding assembly information and nuget packages -->
<PropertyGroup>
<Authors>Jubast</Authors>
<Product>Trackmania Discord Bot</Product>
<RepositoryType>git</RepositoryType>
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<!-- Common compile parameters -->
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);1591;2003</NoWarn>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<!-- We use full (Windows PDBs) until cross platform support for source link will get better -->
<DebugType>full</DebugType>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<HostTargetFramework>netcoreapp3.1</HostTargetFramework>
<LibraryTargetFramework>netstandard2.0</LibraryTargetFramework>
</PropertyGroup>
<!-- Shared Package Versions -->
<PropertyGroup>
<!-- Bot related packages -->
<DSharpPlus>4.0.0-nightly-00709</DSharpPlus>
<Validation>2.4.22</Validation>
<MicrosoftExtension>3.1.5</MicrosoftExtension>
<!-- Logging related packages -->
<SerilogSettings>3.1.0</SerilogSettings>
<SerilogLogging>3.0.1</SerilogLogging>
<SerilogLoggingFile>4.1.0</SerilogLoggingFile>
<SerilogLoggingConsole>3.1.1</SerilogLoggingConsole>
<xUnitSink>2.0.4</xUnitSink>
<!-- Test related packages -->
<FluentAssertionsVersion>5.10.3</FluentAssertionsVersion>
<MicrosoftTestSdkVersion>16.5.0</MicrosoftTestSdkVersion>
<xUnitVersion>2.4.1</xUnitVersion>
<CoverletCodeCoveregeVersion>2.9.0</CoverletCodeCoveregeVersion>
</PropertyGroup>
<!-- Versioning properties -->
<PropertyGroup>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<VersionPrefix Condition=" '$(VersionPrefix)'=='' ">1.0.0</VersionPrefix>
</PropertyGroup>
<!-- For Debug builds generated a date/time dependent version suffix -->
<PropertyGroup Condition=" '$(Configuration)'=='Debug' ">
<VersionSuffix Condition=" '$(VersionSuffix)'=='' ">dev</VersionSuffix>
<VersionSuffix Condition=" '$(VersionDateSuffix)'!='' ">$(VersionSuffix)-$(VersionDateSuffix)</VersionSuffix>
</PropertyGroup>
</Project>