2020-10-05 18:32:38 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2021-03-30 19:50:04 +11:00
|
|
|
|
|
|
|
<Target Name="ILRepacker" AfterTargets="Build">
|
2021-05-23 13:58:26 +10:00
|
|
|
<!-- Actual merged assemblies -->
|
2021-03-30 19:50:04 +11:00
|
|
|
<ItemGroup>
|
|
|
|
<InputAssemblies Include="$(OutputPath)$(AssemblyName).dll" />
|
2021-05-11 19:13:58 +10:00
|
|
|
<InputAssemblies Include="..\lib\mcs-unity\mcs\bin\Release\mcs.dll" />
|
|
|
|
<InputAssemblies Include="packages\ini-parser.2.5.2\lib\net20\INIFileParser.dll" />
|
|
|
|
</ItemGroup>
|
2021-05-23 13:58:26 +10:00
|
|
|
|
|
|
|
<!-- MonoMod for MelonLoader 0.3.0 -->
|
|
|
|
<ItemGroup Condition="'$(IsMelonLoaderLegacy)'=='true'">
|
2021-05-29 18:27:40 +10:00
|
|
|
<InputAssemblies Include="..\lib\HarmonyX\Mono.Cecil.dll" />
|
|
|
|
<InputAssemblies Include="..\lib\HarmonyX\Mono.Cecil.Mdb.dll" />
|
|
|
|
<InputAssemblies Include="..\lib\HarmonyX\Mono.Cecil.Pdb.dll" />
|
|
|
|
<InputAssemblies Include="..\lib\HarmonyX\Mono.Cecil.Rocks.dll" />
|
|
|
|
<InputAssemblies Include="..\lib\HarmonyX\MonoMod.RuntimeDetour.dll" />
|
|
|
|
<InputAssemblies Include="..\lib\HarmonyX\MonoMod.Utils.dll" />
|
2021-05-23 13:58:26 +10:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<!-- Required references for ILRepack -->
|
2021-05-11 19:13:58 +10:00
|
|
|
<ItemGroup>
|
2021-05-29 18:27:40 +10:00
|
|
|
<ReferenceFolders Include="..\lib\HarmonyX" />
|
2021-05-11 19:13:58 +10:00
|
|
|
<ReferenceFolders Include="..\lib\BepInEx.6.IL2CPP\" />
|
|
|
|
<ReferenceFolders Include="..\lib\BepInEx.6.Mono\" />
|
2021-05-11 20:23:52 +10:00
|
|
|
<ReferenceFolders Include="..\lib\BepInEx.5\" />
|
|
|
|
<ReferenceFolders Include="..\lib\MelonLoader\" />
|
2021-03-30 19:50:04 +11:00
|
|
|
</ItemGroup>
|
2021-05-23 13:58:26 +10:00
|
|
|
|
2021-03-30 19:50:04 +11:00
|
|
|
<ILRepack
|
|
|
|
Parallel="true"
|
|
|
|
Internalize="true"
|
|
|
|
DebugInfo="false"
|
2021-05-11 19:13:58 +10:00
|
|
|
LibraryPath="@(ReferenceFolders)"
|
2021-03-30 19:50:04 +11:00
|
|
|
InputAssemblies="@(InputAssemblies)"
|
|
|
|
TargetKind="Dll"
|
|
|
|
OutputFile="$(OutputPath)$(AssemblyName).dll" />
|
|
|
|
</Target>
|
|
|
|
|
2020-10-05 18:32:38 +11:00
|
|
|
</Project>
|