-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
53 lines (53 loc) · 2.47 KB
/
Copy pathDirectory.Build.props
File metadata and controls
53 lines (53 loc) · 2.47 KB
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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<RepositoryRoot>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))</RepositoryRoot>
<ReferenceRoot>$(RepositoryRoot)References\</ReferenceRoot>
<!-- Game paths -->
<GamePath>C:\Program Files (x86)\Steam\steamapps\common\Gorilla Tag</GamePath>
<GameAssemblyPath>$(GamePath)\Gorilla Tag_Data\Managed</GameAssemblyPath>
<BepInExAssemblyPath>$(GamePath)\BepInEx\core</BepInExAssemblyPath>
<PluginsPath>$(GamePath)\BepInEx\plugins</PluginsPath>
</PropertyGroup>
<Choose>
<When Condition=" '$(Configuration)' == 'IL2CPP_MELONLOADER_PRE57' ">
<PropertyGroup>
<DefineConstants>IL2CPP_MELONLOADER_PRE57;MELONLOADER</DefineConstants>
<ReferencePath>$(ReferenceRoot)IL2CPP_MELONLOADER_PRE57\</ReferencePath>
</PropertyGroup>
</When>
<When Condition=" '$(Configuration)' == 'IL2CPP_MELONLOADER' ">
<PropertyGroup>
<DefineConstants>IL2CPP_MELONLOADER;MELONLOADER</DefineConstants>
<ReferencePath>$(ReferenceRoot)IL2CPP_MELONLOADER\</ReferencePath>
</PropertyGroup>
</When>
<When Condition=" '$(Configuration)' == 'IL2CPP_BEPINEX' ">
<PropertyGroup>
<DefineConstants>IL2CPP_BEPINEX;BEPINEX</DefineConstants>
<ReferencePath>$(ReferenceRoot)IL2CPP_BEPINEX\</ReferencePath>
</PropertyGroup>
</When>
<When Condition=" '$(Configuration)' == 'Mono_Melonloader' ">
<PropertyGroup>
<DefineConstants>MONO;MELONLOADER</DefineConstants>
<ReferencePath>$(ReferenceRoot)Mono\</ReferencePath>
</PropertyGroup>
</When>
<When Condition=" '$(Configuration)' == 'Mono_BepInEx' ">
<PropertyGroup>
<DefineConstants>MONO;BEPINEX</DefineConstants>
<ReferencePath>$(ReferenceRoot)Mono\</ReferencePath>
</PropertyGroup>
</When>
</Choose>
<PropertyGroup Condition="'$(Configuration)' == 'Debug' Or '$(Configuration)' == 'Release'">
<DefineConstants>MONO;BEPINEX</DefineConstants>
<ReferencePath>$(ReferenceRoot)Mono\</ReferencePath>
</PropertyGroup>
<PropertyGroup>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\$(Configuration)\</OutputPath>
</PropertyGroup>
</Project>