I'm writing a Visual Studio extension and would like to open the Connect to Team Foundation Server standard dialog on click.
I was able to do so utilizing the DTE2.ExecuteCommand
method like DTE2.ExecuteCommand("Team.ConnecttoTeamFoundationServer")
but I feel that there must be a better way to do that then using Visual Studio macros.
Any help is most appreciated. Thanks in advance!