DCSIMG
Dealing with Visual Studio Menus and CommandBars - Zuker On Foundations

Zuker On Foundations

The realm of .NET (WPF, WCF and all around)
Dealing with Visual Studio Menus and CommandBars

When you're trying to customize existing CommandBars and Menus in Visual Studio, you can most obviously find a command bar by its Guid or Name.

The problem with going with Name is that it isn't unique and consistent through different versions of Visual Studio.

That being said, You need to go by the Guid identifier.

How do you know each command bar's Guid though?
Well, read the useful references below. (The last one answers that question)

Useful References:

Get project CommandBar in VS 2008

Using IVsProfferCommands to retrieve a Visual Studio CommandBar

Using EnableVSIPLogging to identify menus and commands with VS 2005 + SP1

Published Thursday, January 15, 2009 3:24 PM by Amir Zuker

תגים:,

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: