.Net Console Application that Doesn't Bring up a Console

前端 未结 6 896
闹比i
闹比i 2020-12-11 00:10

I have a console application I\'m using to run scheduled jobs through windows scheduler. All the communication to/from the application is in email, event logging, database l

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 01:05

    Sure. Build it as a winforms app and never show your form.

    Just be careful, because then it's not really a console app anymore, and there are some environments where you won't be able to use it.

提交回复
热议问题