Search code examples
visual-studio-2017azure-devopscontinuous-integrationpublishdevops

How to stop generate pdb files in Release package


I'm trying to implement a CD/CI pipeline on TFS. I've created the build, and all the steps has been successfully, except Publish symbols path.

I'm receiving this error message:

2019-09-12T11:34:17.9788901Z ##[error]Indexed source information could not be retrieved from 'E:\buildAgent_work\96\s\Branch\Branche\Api\bin\AWSSDK.CognitoIdentity.pdb'. Symbol indexes could not be retrieved.

Anybody know how to fix this?

Thanks!


Solution

  • I Fixed the problem. I had just to change to Release, instead of Debug. Thanks!