vs.net2005 solution creation using DTE
Hi,
i am new to envdte80 and DTE. from whatever i have learnt from web,these are used to create and use the vs.net IDE
i have a code written for generating vs.net2003 solution using .net 1.1
DTE dte =null;
dte = (DTE)Interaction.CreateObject("VisualStudio.DTE.7.1","");
dte.SuppressUI =true;
dte.MainWindow.Activate();
dte.Windows.Item(EnvDTE.Constants.vsWindowKindSolutionExplorer).Activate();
Now i wish to change it to generate vs.net2005 solution, so i made the follwing changes
DTE2 dte =null;
dte = (DTE2)Interaction.CreateObject("VisualStudio.DTE.8.0","");
dte.SuppressUI =true;
dte.MainWindow.Activate();
--dte.Windows.Item(EnvDTE.Constants.vsWindowKindSolutionExplorer).Activate();
I don't know what to write in replacement of last line as EnvDTE80 does not have Constants class and vsWindowKindSolutionExplorer property.
regards

