由Task Scheduler启动时隐藏C#控制台应用程序窗口 [英] Hide C# Console App Window When Started by Task Scheduler

查看:172
本文介绍了由Task Scheduler启动时隐藏C#控制台应用程序窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在google上搜索了此内容,并阅读了一些资源,但找不到很好的答案。有人知道如何阻止任务计划程序启动控制台应用程序窗口吗?

I have searched google for this and read some resources but I wasn't able to find a good answer. Does anyone know how to prevent the console app window from opening when it is started by the task scheduler?

参考。 https://www.google.com/search?q=task+scheduler+hide+console+window&aq=f&oq= task + scheduler + hide + console + window& aqs = chrome.0.57j0l2j62.7404& sourceid = chrome& ie = UTF-8

推荐答案

输出类型更改为Windows应用程序将解决您的问题

转到:项目- >项目属性

Goto : Project - >Project Properties

这篇关于由Task Scheduler启动时隐藏C#控制台应用程序窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆