Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Sun, 07 Oct 2007 21:12:43 -0000,    group: microsoft.public.vstudio.extensibility        back       


linkage between EnvDTE.AddIn and EnvDTE.Command   
I would like to enumerate the EnvDTE.Command objects of an
EnvDTE.AddIn.  Is there a way other than enumerating all the
EnvDTE.Command(s) of EnvDTE.Commands and comparing ProgID with the
first part of the Command.Name?

also, from an EnvDTE.Command object, identify the associated
EnvDTE.AddIn.

The best I have so far to get the Addin of Command is to enumerate the
AddIn(s) of the DTE and compare ProgID of the Addin with the start of
the command name.  That seems a bit hackish.

Was hoping the Guid of the EnvDTE.Command matched the Guid of
EnvDTE.AddIn. But VS reports the guid of my Addin as all zeros.

thanks,

-Steve
date: Sun, 07 Oct 2007 21:12:43 -0000   author:   Steve Richter

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us