Hi,
I am a new learner of vault client API and have serveral questions to ask you. I am apprecited to hear any suggestions from you.
1. I have several common project in vault. If I use different version common proj, before I implement a new web application, I need download and compile them one by one (chanign reference etc). It really takes long time. Could you have some ideas or URL to show me how to do it automatically?
2.After I downloaded VaultClientOperationsLib.chm and open it. It show me "The page can not be displayed". Where I can download a uncorrupted .chm?
3. After I downloaded RecursiveSearchAndEdit and compiled it, I got following error.
D:\C#Projs\VaultClientAPI\RecursiveSearchAndEdit\Class1.cs(137): The type or namespace name 'VaultRepositoryInfo' could not be found (are you missing a using directive or an assembly reference?)
Thanks lots,
Michael
failed to open VaultClientOperationsLib.chm and compile proj
Moderator: SourceGear
-
- Posts: 5
- Joined: Thu Mar 09, 2006 12:34 pm
-
- Posts: 5
- Joined: Thu Mar 09, 2006 12:34 pm
Sorry, I forgot to check "Notify me when a reply is pos
I forgot to check "Notify me when a reply is posted"
Re: failed to open VaultClientOperationsLib.chm and compile
Vault doesn't have any knowledge of its underlying files that are stored in it, so it wouldn't be able to Get different files based on the contents of the solution or project file being retrieved. A custom application is probaby the only way to automate this, by getting just the files you want.michaelbao wrote:
1. I have several common project in vault. If I use different version common proj, before I implement a new web application, I need download and compile them one by one (chanign reference etc). It really takes long time. Could you have some ideas or URL to show me how to do it automatically?
If you have a list of files you want to get, you could simply call the command line client in batch mode to retrieve those specific files or folders.
Where did you download this from?2.After I downloaded VaultClientOperationsLib.chm and open it. It show me "The page can not be displayed". Where I can download a uncorrupted .chm?
I'm not familiar with RecursiveSearchAndEdit - can you tell me what it is? However, I wonder if the "#" in "C#Projs" might cause problems.3. After I downloaded RecursiveSearchAndEdit and compiled it, I got following error.
D:\C#Projs\VaultClientAPI\RecursiveSearchAndEdit\Class1.cs(137): The type or namespace name 'VaultRepositoryInfo' could not be found (are you missing a using directive or an assembly reference?)
-
- Posts: 5
- Joined: Thu Mar 09, 2006 12:34 pm
Re: failed to open VaultClientOperationsLib.chm and compile
Do you have some good code example using API? Could you provide a URL?dan wrote:Vault doesn't have any knowledge of its underlying files that are stored in it, so it wouldn't be able to Get different files based on the contents of the solution or project file being retrieved. A custom application is probaby the only way to automate this, by getting just the files you want.michaelbao wrote:
1. I have several common project in vault. If I use different version common proj, before I implement a new web application, I need download and compile them one by one (chanign reference etc). It really takes long time. Could you have some ideas or URL to show me how to do it automatically?
If you have a list of files you want to get, you could simply call the command line client in batch mode to retrieve those specific files or folders.
What's "command line client in batch mode"?Where did you download this from?2.After I downloaded VaultClientOperationsLib.chm and open it. It show me "The page can not be displayed". Where I can download a uncorrupted .chm?
I donwloaded them from http://www.sourcegear.com/vault/downloads.html. Could you tell me where I should dowload it from?
I'm not familiar with RecursiveSearchAndEdit - can you tell me what it is? However, I wonder if the "#" in "C#Projs" might cause problems.3. After I downloaded RecursiveSearchAndEdit and compiled it, I got following error.
D:\C#Projs\VaultClientAPI\RecursiveSearchAndEdit\Class1.cs(137): The type or namespace name 'VaultRepositoryInfo' could not be found (are you missing a using directive or an assembly reference?)
Thanks lots
I'm guessing you downloaded the client API? If so, I tried the .chm file there, and it doesn't appear to be corrupted. Can you open other .chm files on your machine?
The best way to get started with the API is to look at the command line client source code, which is included in the client API installation (VaultCmdLineClient.csproj). You can invoke CLC commands and see how the API is used to accomplish the tasks.
For the CLC batch mode, type in "vault help batch" to get instructions on how to use it.
The best way to get started with the API is to look at the command line client source code, which is included in the client API installation (VaultCmdLineClient.csproj). You can invoke CLC commands and see how the API is used to accomplish the tasks.
For the CLC batch mode, type in "vault help batch" to get instructions on how to use it.