How to Remove command bar button from Add-Ins


When i start Visual Studio, it displays an error message:

"The Abc Addin caught the following exception:
System.Argument.Exception: A Command with that name already exists.
...."

The reason the error occurred is that the Abc addin didn't remove it's commands in visual studio.

There is a way to remove command bar button from addins:
In Tools menu, click Customize, select Addins in categories, in right list, drag the command to any menu, click OK.
Select menu, click on the command just added, click Yes in next dialog to remove that command.

Just done!

Comments