我使用ILMerge通过以下代码将exe(Winforms应用程序)与Newtonsoft.Json.dll合并:
X:\ilmerge\ilmerge.exe /t:exe /targetplatform:"v4,C:\Windows\Microsoft.NET\Framework64\v4.0.30319" /lib:. /out:X:\ilmerge\myexe.exe X:\ilmerge\in\myexe.exe X:\ilmerge\in\Newtonsoft.Json.dll
但是当我启动合并的exe时,它会通过命令提示符打开,我该如何避免呢?