Is this srctool.exe error from IndexSources activity posted? srctool.exe in this exercise does one thing, which is listing the source file information in pdb. I am not an srctool expert, so I donβt know why in this case it fails. I know that srctool.exe has some behavioral changes in version 11, most of which are fixes from a previous version.
There is a workaround that requires the removal of the assembly template. This is not very nice, but it works. The Srctool.exe script is run (inside the IndexSources operation) for each pdb file in the SymbolFiles collection. Now that you know what pdb is failing, you can update the assembly template to add R emoveFromCollection activity to the IndexSources operation, which removes the problematic pdb from the SymbolFiles Collection. This is by far the easiest workaround I can think of.
Alternatively, you can edit the FindMatchingFiles activity search template to exclude pdb files that you do not want to index sources.
Based on the error message received, it doesn't seem to be related to the known issue that Ed mentioned. We fixed this problem for the next release, so if it is related, it should be fixed :-)
Let me know if you have problems with VS11 Beta around build templates.
Thanks.
source share