views:

156

answers:

5

In Visual Studio 2008 I often used the "restart" button but it is missing in Visual Studio 2010, at least in Visual Web Developer 2010 Express, I assume it's the same in the standard version as well.

Where is the restart icon in Visual Studio 2010?

alt text

Added:

Ok, I was able to add it in "Customize", but after adding it, it is greyed out so I can't use it. Close Visual Studio and opened again, still greyed out. How can I enable it so that I can use it?

alt text

+3  A: 

Buttons, who needs buttons?

Ctrl + Shift + F5

More keyboard shortcuts

gooch
+1  A: 

There isn't enough room in the Debug toolbar to show all of the buttons, so the restart button moved to the overflow panel.

If you move the toolbars such that there is enough room, the button should appear.

SLaks
And if it's still not there, you can always add it.
Michael Burr
@michaelburr thanks, I used customize to add it, but it is greyed out, any idea how I can enable it so I can use it?
Edward Tanguay
It will only be enabled while debugging.
SLaks
A: 

The restart icon is in the toolbar in the Ultimate edition, so I guess you don't have enough room in the toolbar...or somehow it got magically disabled.

cyberzed
+2  A: 

Your Debug toolbar doesn't look like mine. No problem, you can change it. Tools + Customize, Commands tab, click Toolbar radio, select "Debug". Select the location where you want to insert the button. Click Add Command, select Debug + Restart.

Hans Passant
A: 

The "stop" button is grayed out so I guess your program is not running. You can only use the restart button when a program is running inside the debugger.

Qwertie