Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Exec & QueryStatus methods are not triggered for Solution Add ins

$
0
0

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


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>