Skip to content

Instantly share code, notes, and snippets.

@grandsilence
Created March 17, 2020 02:31

Revisions

  1. grandsilence created this gist Mar 17, 2020.
    6 changes: 6 additions & 0 deletions manual_ilmerge_csproj_msbuild.csproj
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    <Target Name="AfterBuild">
    <!-- the ILMergePath property points to the location of ILMerge.exe console application -->
    <Exec Command="$(ILMergeConsolePath) /target=winexe /ndebug=false /targetplatform=v4 /wildcards bin\Release\App.exe ^
    /out:bin\Release\App_merged.exe ^
    bin\Release\*.dll" />
    </Target>