Good day,
problem:
on a box installed two VS.NET 7.0 and 7.1 aka 2003
how I can get DTE object for 7.0 and for 7.1 if I know its GUIDs.
Thanx.
Printable View
Good day,
problem:
on a box installed two VS.NET 7.0 and 7.1 aka 2003
how I can get DTE object for 7.0 and for 7.1 if I know its GUIDs.
Thanx.
I did it, see code:
.....
DTE DTE70 = (DTE)Activator.CreateInstance( Type.GetTypeFromProgID("VisualStudio.DTE.7") );
.....
DTE DTE71 = (DTE)Activator.CreateInstance( Type.GetTypeFromProgID("VisualStudio.DTE.7.1") );
THANX.