Skip to content

Commit

Permalink
- add Release build events to merge assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
GaticusHax committed Aug 22, 2018
1 parent 1c06f79 commit c1a991e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
Binary file added BuildTools/_bin/ILMerge.doc
Binary file not shown.
Binary file added BuildTools/_bin/ILMerge.exe
Binary file not shown.
7 changes: 7 additions & 0 deletions cliPSARC/cliPSARC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,11 @@
</ItemGroup>
<Import Project="..\libPSARC-Static\libPSARC-Static.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>if "$(ConfigurationName)"=="Release" (
"$(SolutionDir)BuildTools\_bin\ILMerge.exe" /out:"$(TargetDir)\$(TargetName)-merged.exe" "$(TargetPath)" "$(TargetDir)\zlib.net.dll"
del "$(TargetPath)"
move "$(TargetDir)\$(TargetName)-merged.exe" "$(TargetPath)"
)</PostBuildEvent>
</PropertyGroup>
</Project>
7 changes: 7 additions & 0 deletions libPSARC-DLL/libPSARC-DLL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,11 @@
</ItemGroup>
<Import Project="..\libPSARC-Static\libPSARC-Static.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>if "$(ConfigurationName)"=="Release" (
"$(SolutionDir)BuildTools\_bin\ILMerge.exe" /out:"$(TargetDir)\$(TargetName)-merged.dll" "$(TargetPath)" "$(TargetDir)\zlib.net.dll"
del "$(TargetPath)"
move "$(TargetDir)\$(TargetName)-merged.dll" "$(TargetPath)"
)</PostBuildEvent>
</PropertyGroup>
</Project>

0 comments on commit c1a991e

Please sign in to comment.