Workaround for VS 2010 Beta 2 Bug: CommandBarButton.Style not honored, always Icon + Caption

October 26, 2009

Back in VS.NET 2002/2003 the only way to change the style (Icon only, or Icon + Caption) of a CommandBarButton created from a Command was to cast the CommandBarControl returned by Command.AddControl to CommandBarButton and use the CommandBarButton.Style property. If you use that approach in VS 2010 Beta 2 you will find this bug that […]


Yet another critical VS 2010 Beta 2 bug in CommandBars: this one causes VS to hang, nothing less

October 26, 2009

This one happens when an add-in: Creates a temporary toolbar using CommandBars.Add Creates a temporary CommandBarPopup on that toolbar Creates a command and tries to add a CommandBarButton from that command to that CommandBarPopup using Command.Add(CommandBarPopup.CommandBar) The bug report is here: VS 2010 Beta 2 Bug: adding CommandBarButton from Command to CommandbarPopup on Toolbar causes […]