How to start a new project in microsoft visual studio 2005
![how to start a new project in microsoft visual studio 2005 how to start a new project in microsoft visual studio 2005](https://i.stack.imgur.com/gwL5v.png)
If the project is configured to run the default project output, it will find and run that. It's a combination of several snippets I found around the interweb. I am looking into it and will post the updated macro once i solve it ( if I can :) ) Prop.Value = PrevStartup by putting ' at the start of line.Now the messagebox will not come. If you dont have any problem if the macro sets up current selected project as Startup project than please comment last line of macro The build must be stopped to change the solution property. Note : Fourth step is creating a problem and spawns an annoying messagebox saying : Pick your macro from the listBox with all the default VS stuff (remember it will be there like ) and then assign a hotkey combination or chord to it and save. To do this you need to go to Tools->Options->Environment->Keyboard. Prop = ("StartupProject")ĭTE.ExecuteCommand("Debug.StartWithoutDebugging") Now edit the new module (double-click on it) erase whatever is in there and paste this stuff into it. Once you got that right click on MyMacros and create a new module (I called it CollapseAll).
#How to start a new project in microsoft visual studio 2005 how to
Restores the Initial Startup Project as Startup Project.īelow is the Macro that I have written and the procedure how to do it.įirst thing you need to go to Visual Studio Tools -> Macros -> Macro Explorer.Sets the current selected project as Startup project and Runs the current selected project in "Start without Debug" Mode.Gets current selected project ( it will use first selected project, if you have selected multiple projects.).If you are interested in permanent solution then I have written a small macro for this task.