We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

GuidSymbol Element

The GuidSymbol element contains the GUID of the GUID:ID pair that represents a menu, group, or command. The ID comes from an IDSymbol element in the GuidSymbol element. The GuidSymbol element has a name attribute that provides a friendly name for the GUID, which is contained in the value attribute.

<GuidSymbol name="guidMyCommandSet" value="{xxxxxxxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx}">
  <IDSymbol>... </IDSymbol>
  <IDSymbol>... </IDSymbol>

The following sections describe attributes, child elements, and parent elements.





Required. Name of the GUID symbol.


Required. GUID of the GUID symbol.

Child Elements



IDSymbol Element

Contains the ID of the GUID:ID pair that represents a menu, group, or command.

Parent Elements



Symbols Element

Groups GuidSymbol elements in a .vsct file.

Typically, a .vsct file contains three GuidSymbol elements in its Symbols section, one for the package itself, one for the command set (the collection of menus, groups, and commands that the package makes available), and one for the bitmaps that provide icons for buttons and other visual components. Every IDSymbol element in a given GuidSymbol element must have a unique value.However, IDSymbol elements that have identical values can exist in a package as long as they have different parents.