Add a Project to Version Control (Team Explorer Everywhere)

You add projects to version control to enable more systematic team-based development. The Add operation adds files and folders from your local file system to a server for Team Foundation version control.

Note

You can also add projects to version control from the command line. Adding projects in this way does not make them available to Eclipse. For more information, see the following page on the Microsoft Web site: Add Command.

To add a project to version control

  1. In Project Explorer, right-click the project that you want to add to version control, point to Team, and then click Share Project.

    The Share Project dialog box appears.

  2. In the Select a repository type list, click Microsoft Team Foundation Server, and then click Next.

    The Team Project page of the Share Project to Team Foundation Server dialog box appears.

  3. In the list of servers, click the instance of Team Foundation Server to which you want to connect.

    If your server is not listed, click Servers, and then add the instance of Team Foundation Server to which you want to connect. For more information, see Add an Instance of Team Foundation Server.

  4. In the Team Project Collections list, click the team project collection that contains the team project to which you want to add your project.

    Note

    You specify a team project collection only if you connect to Visual Studio Team Foundation Server 2010. Older versions of Team Foundation Server do not support team project collections.

  5. In the Team Projects list, select the check box that corresponds to the team project to which you want to add your project and then click Next to advance to the TFS Workspace page.

  6. In the list, click the Team Foundation Server workspace to which you want to add your project, and then click Next.

  7. In Server path, specify the folder to which you want to add your project.

  8. (Optional) In Project folder path, modify the path of the location where your project will be added.

  9. Click Next.

  10. Review the share configuration and if it is correct, click Finish.

    You can click Back to return to previous steps and make changes.

    Your project is added to version control, but the files are not yet checked in. You can check in the files, or you can wait and check them in later. For more information about how to check in your changes, see Submitting and Undoing Pending Changes (Team Explorer Everywhere).

    By default, Team Explorer does not appear. For more information about how to display Team Explorer, see Open Team Explorer.

See Also

Other Resources

Submitting and Undoing Pending Changes (Team Explorer Everywhere)