ILRepack.targets 671 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Target Name="ILRepacker" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
  4. <ItemGroup>
  5. <InputAssemblies Include="$(OutputPath)\Mono.Cecil.dll" />
  6. </ItemGroup>
  7. <ILRepack
  8. Parallel="true"
  9. Internalize="true"
  10. DebugInfo="true"
  11. InputAssemblies="@(InputAssemblies)"
  12. TargetKind="Exe"
  13. TargetPlatformVersion="v2"
  14. OutputFile="$(OutputPath)\$(AssemblyName).exe" />
  15. <Delete Files="@(InputAssemblies)" />
  16. <Delete Files="$(OutputPath)\BepInEx.Bootstrap.dll" />
  17. </Target>
  18. </Project>