命令行构建

时间:2011-02-23 13:57:00

标签: c# winforms

我使用了Command-Line Building,每次运行应用程序时,控制台也会出现在后台。怎么应该摆脱这个?请看图片:

enter image description here

1 个答案:

答案 0 :(得分:4)

使用/target command line option,其值为winexe

csc /target:winexe MyCode.cs