I have a problem as title. I have wrote a simple addin and want to use it with IDispatcher. The addin looks like is loaded as normal; however, when I type the customized command, I/Dispatcher complains it is unrecognized. I expected once the addin is loaded, I can type command JUS and a messagebox would popup.
I attach the addin code here.
public class JustTestAddIn : IDisposable, ICommandSet
private Dictionary<string, ICommandInvoke> commands = new Dictionary<string, ICommandInvoke>();
private IServiceContainer m_SC;
private CommandInvoke<CommandArgs> command = new CommandInvoke<CommandArgs>();
public IDictionary<string, ICommandInvoke> Commands
return (IDictionary<string, ICommandInvoke>)this.commands;
public string CommandSet