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: Wed, 11 Jun 2008 07:28:45 +0800,    group: microsoft.public.vstudio.extensibility        back       


how do I connect to a specific instance of Visual Studio using automation?   
Hello,

I have several Visual Studio 2005 instances running, and I need to connect 
to one of them using C#, how can I do that?

Thanks.
date: Wed, 11 Jun 2008 07:28:45 +0800   author:   Peter Zhou am

Re: how do I connect to a specific instance of Visual Studio using automation?   
> I have several Visual Studio 2005 instances running, and I need to
> connect to one of them using C#, how can I do that?

I'm not sure what you're trying to achieve here. Could you elaborate a bit? 
Are you trying to connect from one instance to another?

Torben
date: Fri, 13 Jun 2008 11:22:47 +0200   author:   Torben Frandsen frandsen@ret.s?.privat.tele.dk

Re: how do I connect to a specific instance of Visual Studio using automation?   
Each instance of Visual Studio used to register itself in the ROT (Running 
Object Table).

Although it used to use the ClassID which would be the same for each 
instance .. a bit tough to distinguish between them.

If that hasn't changed you can have an addin ... when it is loaded by each 
instance of VS ... you can have your addin register itself in teh ROT using 
something unique like the processID or whatever.

Then any client can query the ROT for your unique moniker and connect to it.

See docs for the ROT etc.

-jeff

"Peter Zhou" <bokesoft@newsgroup.nospam> wrote in message 
news:uREO%23G1yIHA.2188@TK2MSFTNGP04.phx.gbl...
> Hello,
>
> I have several Visual Studio 2005 instances running, and I need to connect 
> to one of them using C#, how can I do that?
>
> Thanks.
>
date: Tue, 5 Aug 2008 15:45:46 -0600   author:   Arnie

Google
 
Web ureader.com


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