File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ This walkthrough builds on the demonstration in [Adding a Menu to the Visual Stu
93
93
2. Add the sub-command. Find the command constructor. Add the following lines just after the call to the `AddCommand` method.
94
94
95
95
```csharp
96
- CommandID subCommandID = new CommandID(CommandSet, (int)TestCommandPackageGuids. cmdidTestSubCmd);
96
+ CommandID subCommandID = new CommandID(CommandSet, cmdidTestSubCmd);
97
97
MenuCommand subItem = new MenuCommand(
98
98
new EventHandler(SubItemCallback), subCommandID);
99
99
commandService.AddCommand(subItem);
@@ -157,4 +157,4 @@ This walkthrough builds on the demonstration in [Adding a Menu to the Visual Stu
157
157
158
158
## See Also
159
159
[Adding a Menu to the Visual Studio Menu Bar](../extensibility/adding-a-menu-to-the-visual-studio-menu-bar.md)
160
- [Commands, Menus, and Toolbars](../extensibility/internals/commands-menus-and-toolbars.md)
160
+ [Commands, Menus, and Toolbars](../extensibility/internals/commands-menus-and-toolbars.md)
You can’t perform that action at this time.
0 commit comments