Rizu/Rizu.MonoMod/ILRepack.targets

24 lines
859 B
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- ILRepack -->
<Target Name="ILRepacker" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
<ItemGroup>
<InputAssemblies Include="$(OutputPath)\Rizu.MonoMod.dll" />
<InputAssemblies Include="$(OutputPath)\Rizu.Core.dll" />
</ItemGroup>
<ItemGroup>
<LibraryPaths Include="..\External" />
</ItemGroup>
<ILRepack
LogFile="ILRepack.log"
Parallel="true"
InputAssemblies="@(InputAssemblies)"
LibraryPath="@(LibraryPaths)"
TargetKind="Dll"
OutputFile="$(OutputPath)\Assembly-CSharp.Rizu.mm.dll" />
</Target>
<!-- /ILRepack -->
</Project>