编写一个自动运行/调试visual studio项目的方法 [英] Coding a method that automatically runs/debugs visual studio project
本文介绍了编写一个自动运行/调试visual studio项目的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能编写一个方法,在特定的给定时间自动运行/调试Visual Studio中的项目?如果是这样有任何例子??
谢谢
Is it possible to write a method that automatically runs/debugs a project in visual studio at a specific given time? and if so is there any examples??
Thank you
推荐答案
要在调度程序上运行某些东西,你需要一些服务。已经存在一种此类服务,与Windows捆绑在一起。有关详细信息,请参阅我过去的答案:问题窗口服务 [< a href =http://www.codeproject.com/Answers/314439/Problem-a-Window-Services#answer1target =_ blanktitle =New Window> ^ ]。
目前还不清楚你打算用调试器做什么。无论如何,如果你想启动调试器并将它附加到你的进程,请阅读:
http://msdn.microsoft.com/en-us/library/system.diagnostics.debugger.launch%28v=vs.110%29 .aspx [ ^ ],
http://msdn.microsoft.com/en-us/library/System.Diagnostics.Debugger%28v=vs.110%29.aspx [ ^ ]。
-SA
To run something on scheduler, you need some service doing it. One such service already exists, is bundled with Windows. For further detail, please see my past answers: Problem a Window Services[^].
It's not clear what are you going to do with a debugger. Anyway, if you are looking to launch the debugger and attach it to your process, please read this:
http://msdn.microsoft.com/en-us/library/system.diagnostics.debugger.launch%28v=vs.110%29.aspx[^],
http://msdn.microsoft.com/en-us/library/System.Diagnostics.Debugger%28v=vs.110%29.aspx[^].
—SA
这篇关于编写一个自动运行/调试visual studio项目的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文