|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
How to: Choose an Alternate Mapping for a Solution
Add projects and solutions to version control through Solution Explorer. During the process of adding projects and solutions to Team Foundation version control, you can specify an alternative mapping.
To perform these procedures, you must have the Check out permission set to Allow. For more information, see Team Foundation Server Permissions.
To select alternative mapping for a solution
Add a project or solution to version control following the procedure that is described in How to: Add a Project or Solution to Version Control.
In the Add Solution to Source Control dialog box, the Solution and project files will be added to text box indicates the default mapping for the solution files. Click Advanced to specify an alternative mapping for the solution.
In the Solution and Project Mappings dialog box, click the ellipse (…) to the right of the path listed in the Source Control Folder column, the Browse for Folder dialog box appears from which you can locate the Folder Path. As soon as you are satisfied with the mapping, click OK; you are returned to the Add Solution to Source Control dialog box that has the other mapping displayed.
Click OK to add the solution to the version control server.
Solutions and projects can also be added from the command line or from the Visual Studio menu; however, adding projects and solutions in these ways does not bind them. This binding is responsible for providing version control functionality including various version control icons that indicate status in Solution Explorer. For more information, see How to: Bind and Unbind Projects and Solutions, Add Command, and How to: Add Non-Project or Non-Solution Files and Folders to Version Control.