-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathLoader.props
103 lines (98 loc) · 4.1 KB
/
Loader.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
<Project>
<PropertyGroup>
<Configurations>R_ML;R_BIE</Configurations>
<LangVersion>10.0</LangVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'R_ML'">
<DefineConstants>$(DefineConstants);MelonLoader</DefineConstants>
<TargetFramework>net472</TargetFramework>
<LatestGeneratedGameAssembliesPath>$(ProjectDir)..\_R_LATEST\MelonLoader\Managed\</LatestGeneratedGameAssembliesPath>
<LoaderRootPath>$(ProjectDir)..\_R_LATEST\MelonLoader\</LoaderRootPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'R_BIE'">
<DefineConstants>$(DefineConstants);BepInEx;UseClonesoft</DefineConstants>
<TargetFramework>net6.0</TargetFramework>
<LatestGeneratedGameAssembliesPath>$(ProjectDir)..\_R_LATEST\BepInEx\interop\</LatestGeneratedGameAssembliesPath>
<LoaderRootPath>$(ProjectDir)..\_R_LATEST\BepInEx\core\</LoaderRootPath>
<DotnetPath>$(ProjectDir)..\_R_LATEST\dotnet\</DotnetPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'R_ML' And $(DefineConstants.Contains(`IL2CPP`))">
<DefineConstants>$(DefineConstants);Unhollower</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'R_BIE' And $(DefineConstants.Contains(`IL2CPP`))">
<DefineConstants>$(DefineConstants);Il2CppInterop</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(Configuration)' == 'R_ML'">
<Reference Include="0Harmony">
<HintPath>$(LoaderRootPath)0Harmony.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="MelonLoader">
<HintPath>$(LoaderRootPath)MelonLoader.dll</HintPath>
<Private>False</Private>
</Reference>
<!--<Reference Include="Clonesoft.Json">
<HintPath>$(ProjectDir)..\lib\net45\Clonesoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>-->
<Reference Include="Newtonsoft.Json">
<HintPath>$(LatestGeneratedGameAssembliesPath)Newtonsoft.Json.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnhollowerBaseLib">
<HintPath>$(LatestGeneratedGameAssembliesPath)UnhollowerBaseLib.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(LatestGeneratedGameAssembliesPath)UnityEngine.CoreModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>$(LatestGeneratedGameAssembliesPath)UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Il2Cppmscorlib">
<HintPath>$(LatestGeneratedGameAssembliesPath)Il2Cppmscorlib.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'R_BIE'">
<Reference Include="0Harmony">
<HintPath>$(LoaderRootPath)0Harmony.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Clonesoft.Json">
<HintPath>$(ProjectDir)..\lib\net60\Clonesoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="BepInEx.Core">
<HintPath>$(LoaderRootPath)BepInEx.Core.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="BepInEx.Unity.IL2CPP">
<HintPath>$(LoaderRootPath)BepInEx.Unity.IL2CPP.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Il2CppInterop.Common">
<HintPath>$(LoaderRootPath)Il2CppInterop.Common.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Il2CppInterop.Runtime">
<HintPath>$(LoaderRootPath)Il2CppInterop.Runtime.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(LatestGeneratedGameAssembliesPath)UnityEngine.CoreModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>$(LatestGeneratedGameAssembliesPath)UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Il2Cppmscorlib">
<HintPath>$(LatestGeneratedGameAssembliesPath)Il2Cppmscorlib.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
</Project>