diff --git a/BuildTools/_bin/ILMerge.doc b/BuildTools/_bin/ILMerge.doc new file mode 100644 index 0000000..f3ac501 Binary files /dev/null and b/BuildTools/_bin/ILMerge.doc differ diff --git a/BuildTools/_bin/ILMerge.exe b/BuildTools/_bin/ILMerge.exe new file mode 100644 index 0000000..e401808 Binary files /dev/null and b/BuildTools/_bin/ILMerge.exe differ diff --git a/cliPSARC/cliPSARC.csproj b/cliPSARC/cliPSARC.csproj index 65c4649..5825218 100644 --- a/cliPSARC/cliPSARC.csproj +++ b/cliPSARC/cliPSARC.csproj @@ -58,4 +58,11 @@ + + 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)" +) + \ No newline at end of file diff --git a/libPSARC-DLL/libPSARC-DLL.csproj b/libPSARC-DLL/libPSARC-DLL.csproj index 2b3497d..faab53b 100644 --- a/libPSARC-DLL/libPSARC-DLL.csproj +++ b/libPSARC-DLL/libPSARC-DLL.csproj @@ -53,4 +53,11 @@ + + 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)" +) + \ No newline at end of file