-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cerberus.props
48 lines (39 loc) · 2.1 KB
/
Cerberus.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
<?xml version="1.0" encoding="utf-8"?>
<!-- This is taken from the Exiled repository, so thanks for facilitating me with the dependencies :) -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="$(BaseProperties) == '' OR $(BaseProperties) == 'true'">
<Authors>Cerberus Team</Authors>
</PropertyGroup>
<PropertyGroup Condition="$(BuildProperties) == '' OR $(BuildProperties) == 'true'">
<TargetFramework>net48</TargetFramework>
<LangVersion>9.0</LangVersion>
<PlatformTarget>x64</PlatformTarget>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>$(MSBuildThisFileDirectory)\bin\$(Configuration)\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<!-- This is the global version and is used for all projects that don't have a version -->
<Version Condition="$(Version) == ''">1.1.3</Version>
<!-- Enables public beta warning via the PUBLIC_BETA constant -->
<PublicBeta>false</PublicBeta>
<HarmonyVersion>2.2.1</HarmonyVersion>
<YamlDotNetVersion>9.1.4</YamlDotNetVersion>
<StyleCopVersion>1.1.118</StyleCopVersion>
<SemanticVersioningVersion>1.3.0</SemanticVersioningVersion>
<Copyright>Copyright © $(Authors) 2020 - $([System.DateTime]::Now.ToString("yyyy"))</Copyright>
<RepositoryType>Git</RepositoryType>
<RepositoryUrl>https://github.com/cerberusServers</RepositoryUrl>
<PackageProjectUrl>https://github.com/cerberusServers</PackageProjectUrl>
<PackageLicenseExpression></PackageLicenseExpression>
<DefineConstants Condition="$(PublicBeta) == 'true'">$(DefineConstants);PUBLIC_BETA</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<DebugType>Portable</DebugType>
</PropertyGroup>
<!-- Disable warning about disabled generation of xml files on debug build -->
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<NoWarn>$(NoWarn);SA0001</NoWarn>
</PropertyGroup>
</Project>