Set a pre debug event on Visual Studio 2008
问题 I would like to run a task before I start debugging my program in visual studio. I need to run this task every time I debug my program, so a post-build event is not good enough. I've looked into the "Debugging" tab of the settings, but there is no such option. Is there any way to do that ? 回答1: The only thing you can try (IMO) is experiment with the Command property in the Debugging page of your Project Properties ,but i don't think will work. EDIT: if you want to start a batch file ,do it