Reuse visual studio login info in VS Macros

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
yic
Posts: 1
Joined: Fri Jul 22, 2011 2:31 pm

Reuse visual studio login info in VS Macros

Post by yic » Mon Jul 25, 2011 2:51 pm

Hi,

I created a library dll which can be called to create share in SourceGear. I called the dll within visual studio Marcro. But I have to call ServerOperations.Login() even if I logged into SourceGear from within visual studio. (SourceGear Visual studio client prompts me to login when I open the visual studio solution.) Is there any way the my script reuse the same connection or login so that I do not have to login when I run the Macro.

Yi

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Reuse visual studio login info in VS Macros

Post by Beth » Mon Jul 25, 2011 3:33 pm

Your macro would be a different instance, so it would require a login. It's the same if you open two instances of the Vault GUI client. Even if you had one running already, you would have to login to the second instance as well.
Beth Kieler
SourceGear Technical Support

Post Reply