The
StarTeam Visual Studio Plugin lets you place solutions and projects into
StarTeam. This places the source files from the solution/project into the
StarTeam Server and establishes a tip revision for the files. Placing a solution/project into
StarTeam enables it to be version controlled, and makes the solution/project accessible to other team members.
-
Choose
StarTeam
Place Solution.
Note: Alternatively, you can right click on the root project node in the
Solution Explorer, and choose
. The
Place Project command is not available from the
StarTeam main menu.
It is not common practice to place a lone project under source control. Typically, you place the entire solution that contains
one or multiple projects, but the integration allows you this flexibility if you choose to perform this task. If you have
not placed the solution under source control and you choose the
Place Project command, an informational dialog box opens warning you that the solution has not yet been placed. If you desire to place
only the project, then click
Yes to continue.
This opens the
StarTeam Association for xxx.sln dialog box, where
xxx.sln is the solution name.
-
Complete the following fields in the
StarTeam Association for xxx.sln dialog box:
- StarTeam Server
- Select the server configuration where the solution/project will be stored, and log onto it. If you need to add the server
configuration to the list of available servers in the list, click
Server. This opens the
StarTeam Servers dialog box where you can add server configurations or update the connection properties of a currently-defined server configuration.
- Project Name
- Select the name of the
StarTeam project, or click
New to create a new
StarTeam project. When you click
New, the
New Project dialog box opens where you specify a
StarTeam project name and the default working folder. The
StarTeam project name must be unique. The directory specified in the
Default Working Folder field is used as the default target directory when the solution is pulled from
StarTeam.
- Folder Path
- Optionally, choose a different folder other than the default folder. By default, the folder path is set to the folder with
a working path that is the same as the root working folder of the solution.
- Root Working Path
- Specify the root directory containing the solution/project to be placed into
StarTeam. You can click the
Browse button and change the path if you expect files that are not in the directory hierarchy of the given solution to be added.
-
Click
OK to close the
StarTeam Association dialog box.
The
Add Files dialog box opens. Optionally (but recommended), fill in the information in the
Add Files dialog box.
-
Click
OK to close the
Add Files dialog box when finished.
The solution and project source files are checked into the
StarTeam Server. The status of the operation displays in the
Output window. In the
Solution Explorer, the files are associated with a blue database icon indicating that the solution/project/files are stored in the repository.