Search found 5 matches
- Fri Oct 15, 2010 11:40 am
- Forum: Questions (API)
- Topic: Find vault location for a file under source control.
- Replies: 5
- Views: 10372
Re: Find vault location for a file under source control.
Thank you, turns out my problem was I was trying to find the location in VS using different credentials which is why GetCorrespondingRepositoryPath did not work. Thanks again for your help.
- Mon Oct 11, 2010 8:26 am
- Forum: Questions (API)
- Topic: Retrieve Vault login information from Visual Studio
- Replies: 3
- Views: 9213
Re: Retrieve Vault login information from Visual Studio
I am trying to design a code generator as an add-in to visual studio. If the target file already exists, I am trying to check it out so it can be overwritten. I have tried using EnvDTE's SourceControl.CheckOut, but it seems to only work with VSS (throws a NotImplementedException). Is there another w...
- Fri Oct 08, 2010 3:29 pm
- Forum: Questions (API)
- Topic: Find vault location for a file under source control.
- Replies: 5
- Views: 10372
Re: Find vault location for a file under source control.
Function returns null each time. I used SetActiveRepositoryID to set the corresponding repository correctly. I also verified that the desired vault path of the file can be found: ((VaultClientOperationsLib.VaultClientFolder)ClientInstance.TreeCache.Repository.Root.Folders[i]).Files[j] Interestingly,...
- Fri Oct 08, 2010 7:23 am
- Forum: Questions (API)
- Topic: Find vault location for a file under source control.
- Replies: 5
- Views: 10372
Find vault location for a file under source control.
I have a project open in Visual Studio 2010 which is under source control via Vault. Is there a way to check out a file in this project via API based on its location on the local hard drive rather than its location in Vault? Or is there a way to find the repository location via API for a given worki...
- Fri Oct 08, 2010 7:20 am
- Forum: Questions (API)
- Topic: Retrieve Vault login information from Visual Studio
- Replies: 3
- Views: 9213
Retrieve Vault login information from Visual Studio
Is there a way with the Vault API to read the login information from Visual Studio 2010 used for the current open project which is under Vault source control? ie. when a project is opened, Visual Studio automatically logs you in based on saved credentials or prompts for a password if not saved. Is t...