Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error compile tfs indexed source

Tags:

build

tfs

I am getting the next error when i try build in TFS2013:

Indexed source information could not be retrieved from C:\Builds\2\Company\Solution\Binaries\Antlr3.Runtime.pdb. Error: Symbol indexes could not be retrieved.

the files exist in path.

thank you for your help

like image 624
steve Avatar asked Feb 09 '15 14:02

steve


2 Answers

I "fixed" this error by setting the following property to false on my TFS build definition:

Process -> Source And Symbol Server Settings -> Index Sources.

enter image description here

Some additional information about what Index Sources does is available here (emphasis mine)

Use this task in a build or release pipeline to index your source code and optionally publish symbols to the Package Management symbol server or a file share.

Indexing source code enables you to use your .pdb symbol files to debug an app on a machine other than the one you used to build the app. For example, you can debug an app built by a build agent from a dev machine that does not have the source code.

Symbol servers enables your debugger to automatically retrieve the correct symbol files without knowing product names, build numbers or package names. To learn more about symbols, read the concept page; to publish symbols, use this task and see the walkthrough.

like image 89
RB. Avatar answered Nov 17 '22 03:11

RB.


Selecting the option to skip index fixed my problem. Follow the example below.

enter image description here

like image 44
Slaters Avatar answered Nov 17 '22 03:11

Slaters