共用方式為


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

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

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 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.

Publish symbol data

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 iconHome, and then choose Builds IconBuilds (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).

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:

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