A quick question that someone might know the answer to. I am accessing the
DTE library not from an addin, but from code within the target application.
This is clearly running in another thread than the IDE, if the number of
"server busy" messages I'm getting is any indication. Is there any
discussion of best practices for doing this that anyone knows about. I'm
sure I can research this and figure it out, but if anyone has any suggestions
it would be greatly appreciated.
Regards,
Mike
Hi Mike,
What is the "target application"? There are several ways to automate the IDE
that I described at my article:
HOWTO: Automating Visual Studio .NET from outside the IDE
http://www.mztools.com/articles/2005/MZ005.htm
There is another one, from designers, etc. calling GetService(GetType(DTE))
or something smilar.
Automating from an external process is much slower because of the
"out-of-process" stuff, and you can get that "busy" errors.

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
>A quick question that someone might know the answer to. I am accessing the
> DTE library not from an addin, but from code within the target
[quoted text clipped - 9 lines]
>
> Mike