Using Vault and VS.NET integration for web projects

A collection of information about Vault, including solutions to common problems.

Moderator: SourceGear

Post Reply
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Using Vault and VS.NET integration for web projects

Post by lbauer » Mon Jan 12, 2004 11:54 am

When deciding to implement Vault and VS.NET integration for web projects, there are a number of pieces that need to be put together.

The best place to start is by familiarizing yourself with web projects. The following MSDN article is a great overview. ... dionet.asp

Additionally, there is information within VS.NET itself. You can find by going to the help, and search for “web project”. Find the article entitled “Introduction to Web Projects”.

In order to get started, you must have installed Vault correctly.

1. Create a blank Vault repository with nothing in it.

2. From the Vault Admin client, create Vault users

3. Have everyone set Vault as their source code control provider. This can be done from the Vault GUI client by going to tools -> options -> General. Check the box next to “Make Vault your default Source Code Control provider”

Next, an initial developer must set up the web project in VS.NET.

4. Convert your current project into a VS.NET Web project as outlined in the above articles.

5. Once your project is a VS.NET Web project, right click on the solution, and choose “Add to Source Control”

6. You will be asked to log into Vault.

7. Choose the blank repository you created earlier.

8. Choose a location in that repository. A new folder wil be created there. For example, if you're adding a solution named WebSolution.sln to Vault, and you select $/trunk/src, then the folder $/trunk/src/WebSolution will be created.

9. You will be prompted to choose another location (for project files). Make sure to choose the folder that is created in the above step. In the example above, you should select $/trunk/src/WebSolution as the location to add all of your projects.

Now other people are ready to connect. They can now access the Web project from within VS.NET as follows:

10. Open VS.NET and select File -> Source Control -> Open From Source Control. You should be prompted to login to the Vault Server. Complete the login and choose the IDE project you want to open.

If you encounter any difficulties, please email our support staff at Please provide details about what happened at each step and exactly what type of error you are receiving.
Linda Bauer
Technical Support Manager

Post Reply