Getting the Latest Version of Source Control Files—Team Foundation Server

After you bind a Flare project to a source control application, you can get the latest version of any of the source control files. When you do this, you are copying the most current files stored in the source control application to your local Flare project without necessarily checking out the files. This means that the "Read Only" designation will remain associated with the files until you check them out.

Following are steps for getting the latest version of all files in a project automatically, as well as steps for getting the latest version of files manually.

Automatic Get

You might use this option if you are working with a team of authors and want to make sure that you include the latest changes from other writers in the output (without having to manually get those files).

With this option:

  • You will not be prompted before the "get" is performed.
  • Flare will not get the latest copy of the files in the Targets folder, because that would conflict with the generation of the output.
  • Conflicts with files will not cause local files to be overwritten. Therefore, if your local files are writable or already checked out, those files will be kept, rather than overwritten with the source control files.

How to Get the Latest Version of Source Control Files Automatically

  1. Open the target.
  2. In the Target Editor, select the General tab.
  3. Select the check box labeled Automatically get latest version of all files before generating the target.
  4. Click Save the active file. to save your work.
  5. Build the target.

Note The "automatic get" feature is not supported if you are building output using the command line, as opposed to the Flare interface.

Manual Get

You can manually get the latest version of all of the files in the Flare project or specific files only.

How to Get the Latest Version of Source Control Files Manually

  1. Do one of the following, depending on the part of the user interface you are using:
    • Ribbon Select Source Control > Get Latest Version (for selected files) or Source Control > Get Latest Version All (for all files in the project).

    • Right-Click If you have the Content Explorer, Project Organizer, Pending Changes window pane, or File List open, right-click the file you want to get and select Source Control > Get Latest Version.
    • Source Control Explorer With the Pending Changes pane open, right-click the file you want to update and select Get Latest Version.
  2. If the local and server files are the same, a message tells you so. Click OK.

    If the local file is different from the file on the server, the Resolve Conflicts dialog opens. If you want to accept all of the differences between the local and server files, thus merging them, click Auto Merge All. If you want to review the differences in the files side by side and resolve each conflict, click Resolve. For more information about merging files and resolving conflicts, see Merging Source Control Files—Team Foundation Server.

What’s Noteworthy?

Note By default, when you open a project that is bound to source control, a message automatically asks if you want to get the latest version of files. However, you can disable this prompt in the Options dialog (File > Options). See Disabling the Get Latest Prompt for Source Control—Team Foundation Server.

Note If you update your read-only files with read-only files and you do not perform a check out, the files will appear to be submitted without actually updating the server-side version.