failed to open VaultClientOperationsLib.chm and compile proj

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

Moderator: SourceGear

Post Reply
michaelbao
Posts: 5
Joined: Thu Mar 09, 2006 12:34 pm

failed to open VaultClientOperationsLib.chm and compile proj

Post by michaelbao » Thu Mar 09, 2006 12:36 pm

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

michaelbao
Posts: 5
Joined: Thu Mar 09, 2006 12:34 pm

Sorry, I forgot to check "Notify me when a reply is pos

Post by michaelbao » Thu Mar 09, 2006 12:38 pm

I forgot to check "Notify me when a reply is posted"

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Re: failed to open VaultClientOperationsLib.chm and compile

Post by dan » Thu Mar 09, 2006 3:53 pm

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?
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.

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.
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?
Where did you download this from?
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?)
I'm not familiar with RecursiveSearchAndEdit - can you tell me what it is? However, I wonder if the "#" in "C#Projs" might cause problems.

michaelbao
Posts: 5
Joined: Thu Mar 09, 2006 12:34 pm

Re: failed to open VaultClientOperationsLib.chm and compile

Post by michaelbao » Fri Mar 10, 2006 3:33 pm

dan wrote:
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?
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.

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"?
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?
Where did you download this from?

I donwloaded them from http://www.sourcegear.com/vault/downloads.html. Could you tell me where I should dowload it from?
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?)
I'm not familiar with RecursiveSearchAndEdit - can you tell me what it is? However, I wonder if the "#" in "C#Projs" might cause problems.
Do you have some good code example using API? Could you provide a URL?

Thanks lots

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri Mar 10, 2006 4:09 pm

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.

Post Reply