During my days of working with Visual Studio Packages we have on work come up with a “Command Pattern” for binding menu items defined in the .vsct files to classes so they are easier to work with. It’s not a fully elaborated Command Pattern where you bind the commands together in a “string” of commands enabling you to go back and regret your actions, instead it just helps to isolate the implementation of each menu item. First some simple basics. ICommand The ICommand interface is implemented for all commands so we are able...