Skip to content

Instantly share code, notes, and snippets.

@grandsilence
Created March 17, 2020 02:31
Show Gist options
  • Save grandsilence/5d6d9055542ed870a2801f5291395c6c to your computer and use it in GitHub Desktop.
Save grandsilence/5d6d9055542ed870a2801f5291395c6c to your computer and use it in GitHub Desktop.
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment