Publish Symbol Data

You can use your build process to publish the symbol data in your PDB files to a SymStore symbol store. If you publish this data, your team can debug with IntelliTrace. For more information, see Debugging with IntelliTrace.

Prepare Your SymStore Symbol Store

Before you can publish your symbols by using your build process, your team must first prepare a SymStore symbol store:

To prepare your SymStore symbol store

  1. Set up a folder in which to store the symbols on a file-sharing server (for example, \\contoso-share\symbols).

  2. Grant Full Control permissions to the user account under which the build agent is running.

    For more information about build agents, see Create and Work with Build Agents.

Publish Symbol Data by Using a Default Template Build Definition

You can control whether and how your Default Template build publishes symbol data. You can specify the settings when you edit the build definition, and you can also override these settings when you queue the build.

To publish symbol data by using a Default Template build definition

  1. In Team Explorer, perform one of the following steps:

    1. Edit your build definition, and then click the Process tab. For more information, see Edit a Build Definition.

    2. Queue your build definition, and then click the Parameters tab. For more information, see Queue a Build.

  2. Under the Basic node, expand the Source and Symbol Server Settings node.

  3. Set Index Sources to True.

  4. In Path to Publish Symbols, type the UNC file path to the folder (for example, \\contoso-share\symbols).

For more information about Default Template build definitions, see Define a Build Using the Default Template.

Publish Symbol Data by Using a Custom Build Process Template

For more information, see Team Foundation Build Activities: Work with Symbol Data.

For More Information

For more information about SymStore symbol stores, see the following topics on the Microsoft website: