The following Ilmerge example merges all the dll files into a single executable. The problem is this merged executable creates a dos window along with the expected windows form. I do not know how to avoid this dos window. The unmerged version of the exe does not have the dos window. Am I missing a ILMerge setting?
c:\"Program Files"\Microsoft\ILMerge\ILMerge.exe ^
/target:exe ^
/out:MyTool.exe ^
..\library\MyTool.exe ^
..\library\CalCurves.dll ^
..\library\EngProfiles.dll ^
..\library\SpreadSheetProcessing.dll ^
..\library\SpreadSheetConverter.dll ^
..\library\Tlm.dll ^
..\library\TlmFormat.dll ^
..\library\XmlConverter.dll ^
..\library\Cmd.dll