The poor exception information adding commands, buttons, commandbar buttons, etc.

June 23, 2009

If you have coded many add-ins or a complex add-in, chances are that you have encountered the dreaded System.ArgumentException “Value does not fall within the expected range.” when adding commands, buttons, commandbars, etc. Most of the AddXXX methods of the automation model receive so many parameters (many ones optional) that one little mistake and you […]


devenv.exe /resetaddin doesn’t fully reset the add-in

June 23, 2009

Although I don’t use permanent commandbars in my MZ-Tools but temporary ones, I became aware of a bug when writing the samples that use permanent user interface of the article HOWTO: Adding buttons, commandbars and toolbars to Visual Studio .NET from an add-in, and I mentioned it in this article and this post. The bug […]


MZ-Tools Articles Series: updated articles

June 23, 2009

I have updated the following MZ-Tools Series articles to fix/explain better some things, provide C# code some cases, cover Windows Vista folders, cover Visual Studio 2008/2010 in some other cases, etc: HOWTO: Removing commands and UI elements during Visual Studio .NET add-in uninstallation http://www.mztools.com/Articles/2005/MZ2005002.aspx HOWTO: Reset a Visual Studio add-in http://www.mztools.com/Articles/2006/MZ2006014.aspx HOWTO: Get rid of […]