标签: c# winforms
我使用了Command-Line Building,每次运行应用程序时,控制台也会出现在后台。怎么应该摆脱这个?请看图片:
答案 0 :(得分:4)
使用/target command line option,其值为winexe:
/target
winexe
csc /target:winexe MyCode.cs