Team Foundation Server (TFS) Binding for Grooper Scripts

From Grooper Wiki
Revision as of 15:52, 1 December 2025 by Dgreenwood (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When a script is opened in Visual Studio, and that code is bound to Team Foundation Server (TFS), you will be presented with the following message.

  1. Click "Yes" to contact the TFS Server.

You will be presented with this error message, indicating the "binding information cannot be found".

  1. Click "OK" to acknowledge the error.

We need to configure a custom TFS binding.

  1. Navigate to "File > Source Control > Advanced > Workspaces..."

This will bring up the "Manage Workspaces" window.

  1. Click "Add..." to initialize a new Workspace.

  1. Under "Source Control Folder", click the ellipsis button and navigate to your solution within the TFS structure.
  2. Under "Local Folder", type C:\Users\[username]\AppData\Local\Temp\GrooperScripts\[script] to map the source to your local file system.
    • Replace [username] with your Windows username.
    • Replace [script] with the name of your Grooper script (e.g. the name of your Object Library)

  1. Give your new Workspace a descriptive name (more descriptive than we've named ours in this tutorial).
  2. Click "OK" to save the new Workspace.

  1. Once the new Workspace has been created and mapped, you will see it added to the list.
  2. Click "Close" to continue.

You may receive a message that the solution has been modified and needs to be reloaded.

  1. Click "Reload" to reload the solution.

  1. Navigate to the "Resolve Conflicts" tab.
  2. Click "Overwrite Local File or Folder"
    • You may need to click this twice.

  1. If you receive a message stating the solution has been modified, click "Reload All" to refresh the project.

Your Grooper script should now be connected with TFS

  1. In this example, notice that the comment was pulled from the latest source from TFS.