Adding an MsoControlType.msoControlPopup under the "Tools" menu disappears
I'm trying to create a popup menu under the "Tools" menu item like "Tools"->"Test Menu"->"TestAddin". The popup menu appears, the first time, but when I shutdown VisualStudios it does not persist. This is how I'm creating it:
... get "Tools" command bar commandBarControl = (CommandBarControl)command.AddControl(cBar, 1);
CommandBarControl ctrl = (CommandBarControl)
toolCommandBar.Controls.Add
(MsoControlType.msoControlPopup, Type.Missing,
Type.Missing, Type.Missing, false);
ctrl.Caption = "Test Menu";
CommandBarPopup popup = (CommandBarPopup)ctrl;
CommandBar cBar = popup.CommandBar;
The "temporary" parameter in the Controls.Add() API doesn't seem to affect the persistence of the popup control. How do I create a menu item that can have submenus, and have it persist between uses of the IDE?

