These pages cover SQL Source Control 3.3, which isn't the latest version. Help for other versions is also available.

Skip to end of metadata
Go to start of metadata
Team Foundation Server 2012 and Team Foundation Service are only compatible with SQL Source Control 3.1 and later. You must have Visual Studio 2012 or Team Explorer for Visual Studio 2012 installed.

To link a database to Team Foundation Server (TFS) 2012 or the hosted Team Foundation Service (previously known as tfspreview.com), you must edit a config file.

After you edit the config file, you won't be able to link to earlier versions of TFS. You can undo this by undoing the changes described in this page.

  1. Make sure SQL Server Management Studio is closed.
  2. Go to the SQL Source Control config files folder. By default, this is located at %localappdata%\Red Gate\SQL Source Control 3
  3. Open RedGate_SQLSourceControl_Engine_EngineOptions.xml in a text editor.

    This file may not exist in some installations. If it doesn't exist in your installation:

    1. Create an .xml file named RedGate_SQLSourceControl_Engine_EngineOptions.xml in the folder.
    2. Open the file in a text editor and paste this into it:
      <?xml version="1.0" encoding="utf-16" standalone="yes"?>
      <EngineOptions version="3" type="EngineOptions">
      </EngineOptions>
    3. Continue reading from step 5 below.

  4. Make sure the the EngineOptions version line reads:

  5. Below the EngineOptions version line, add:

    Ignoring any comments (indicated with <!->), the final file should look like this:

    The example above doesn't include any extra lines you may have included. For example, you may have included additional lines to set up change logging.


  6. Save and close the file.

You can now link databases to TFS 2012 and Team Foundation Service.

For more information about linking databases, see Linking a database to source control.
Labels
  • No labels