Index and publish symbol data

You can use your default build process to embed version control paths into the symbol data in your .PDB files and then publish them to a SymStore symbol store.

Note Note

The process can embed TFVC icon TFVC version control paths. Embedding Git icon Git version control paths is not supported.

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 on a file-sharing server to store the symbols. For example, set up \\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 Deploy and configure build agents.

You can publish symbol data and specify the settings when you edit the build definition or when you queue the build.

  1. In Team Explorer:

    1. If you are not already connected to the team project that you want to work in, then connect to the team project.

    2. Choose Home icon Home, and then choose Builds Icon Builds (Keyboard: Ctrl + 0, B).

      The Builds page appears.

  2. Choose the New Build Definition link or select a build, open its context menu, and choose Edit Build Definition.

  3. On the Process tab, in Path to publish symbols, type the UNC file path to the folder (for example, \\contoso-share\symbols).

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

For more information about Default Template build definitions, see Use the Default Template for your build process.