FiFiWiki2

FiFiWikiの第2版

ユーザ用ツール

サイト用ツール


c.charp:ilmergeで実行ファイルとdllを一つにまとめる

**以前のリビジョンの文書です**

[ILMergeで実行ファイルとDLLを一つにまとめる - Qiita](https://qiita.com/krsak/items/75a257cc0866a7e8e4aa)

set fname_new=$(TargetName)_merge$(TargetExt)

"C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" /ndebug /targetplatform:v4 /wildcards /out:%fname_new% SeniorFilter.exe *.dll
(改訂版 180310)
set fname_old=$(TargetName)$(TargetExt)
"C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" /ndebug /targetplatform:v4 /wildcards /out:%fname_old% %fname_old% *.dll

del *.dll
del *.xml
del *.config

[Visual StudioユーザーがReleaseビルドをするときに必ずやってほしい2つの設定 - Qiita](https://qiita.com/lainzero/items/27681ddc96638e33758b)

  • .pdbファイルはRerease時には吐き出さないようにする
  • .vshostファイルはRerease時には吐き出さないようにする
  • .exe.configは使ってなければ削除する
c.charp/ilmergeで実行ファイルとdllを一つにまとめる.1525495773.txt.gz · 最終更新: 2018/05/05 04:49 by fifi