Getting the Current Version of an Item

See Also

Updating your local copies of items to versions from the master source control database is called "getting" or "synchronizing" items. In any project with more than one team member working on an item, you should update your local copies frequently to ensure that you incorporate changes that other people have made.

When you Get your local items, the master versions of the items are copied to your local project. You have not checked out the items, and you cannot modify them and check in changes, but you can view them or use them in builds of your project.

Note   If the file is "pinned" in Visual SourceSafe, the pinned version is the version retrieved. For more information on pinning, see the Visual SourceSafe documentation.

To get the latest version of an item in source control through the development environment

  1. In the Project Explorer, select the items that you want to Get.

  2. On the Project menu, point to Source Control, and then click Get Latest Version.

    The Get Latest Version dialog box appears, with check marks next to the items in the Items box. If necessary, adjust selections in this dialog box.

  3. Click OK.

To automatically get current versions of items when opening a solution

  1. On the Tools menu, click Options.

  2. In the Options dialog box, expand the Environment node, and then click the Source Control node.

  3. Select the Get everything when opening the solution check box.

Note   This does not apply to Visual InterDev projects.

  1. Click OK.