Open source control

I instaniated a new instance of the IDE.

I called DTE.Solution.Open(path);

and successfully opened it.

But, the DTE.SourceControl object does not have a way to call a "GetLatest" on it. What I want to do is Call a recursive get latest on the entire solution.

Please help,

Thanks,

Nick

[345 byte] By [nick5454] at [2007-12-21]
# 1

Here's how to do it with a solution called ConsoleApplication1:

 

DTE.ActiveWindow.Object.GetItem("ConsoleApplication1").Select(vsUISelectionType.vsUISelectionTypeSelect)

DTE.ExecuteCommand ("ClassViewContextMenus.ClassViewProject.TfsContextGetLatestVersion")

TimNoonanMSFT at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Work Item Tracking...

Visual Studio Team System

Site Classified