UnityExplorer/src/ILRepack.targets

33 lines
1.3 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="ILRepacker" AfterTargets="Build">
2021-05-23 13:58:26 +10:00
<!-- Actual merged assemblies -->
<ItemGroup>
<InputAssemblies Include="$(OutputPath)$(AssemblyName).dll" />
<InputAssemblies Include="..\lib\mcs-unity\mcs\bin\Release\mcs.dll" />
2022-01-19 17:34:53 +11:00
<InputAssemblies Include="packages\Samboy063.Tomlet.3.1.3\lib\net35\Tomlet.dll" />
</ItemGroup>
2022-01-19 17:34:53 +11:00
2021-05-23 13:58:26 +10:00
<!-- Required references for ILRepack -->
<ItemGroup>
2021-08-10 17:17:21 +10:00
<ReferenceFolders Include="packages\HarmonyX.2.5.2\lib\net35\" />
<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\" />
<ReferenceFolders Include="..\lib\Il2CppAssemblyUnhollower\UnhollowerBaseLib\bin\Release\net4.7.2\" />
</ItemGroup>
2021-05-23 13:58:26 +10:00
<ILRepack
Parallel="true"
Internalize="true"
DebugInfo="false"
LibraryPath="@(ReferenceFolders)"
InputAssemblies="@(InputAssemblies)"
TargetKind="Dll"
2021-05-29 19:07:26 +10:00
OutputFile="$(OutputPath)$(AssemblyName).dll"
/>
</Target>
</Project>