Hi,
I have the following scenario:
- Add-in class (implementing IDTExtensibility2, IDTCommandTarget) registered for COM interop
- The add-in is added as a solution add-in by some code.
- Add-in is loaded correctly, the OnConnection is called with the proper ext_ConnectMode.ext_cm_Solution
- in that method, a named command is added using AddNamedCommand, and control added using AddControl to add an entry in the Solution command bar
- Command indeed appears in the Solution context menu. When clicked, VS complains that the add-in for the command could not be loaded
- Exec & QueryStatus methods of IDTCommandTarget are never called
Appreciate your help
Thanks,
Charles