I used Command-Line Building and every time I run my application, a console also appears in the background. How should get rid of this? Please see 开发者_开发百科image:
Use the /target
command line option, with the value winexe
:
csc /target:winexe MyCode.cs
精彩评论