0

We are facing an issue related to .PDB files for Website application and here is the details:

  1. If we publish the website from Visual Studio 2017 (right click on website and Publish) I can able to see .PDB files.
  2. We tried with command line query also but its not able to publsih the .PDB files.
  3. Also we are not able to publish the .PDB files as part of the TFS 2018.3 build (vNext build).

FYI, I have followed all the suggestions mentioned in other post (Visual Studio 2012 Website Publish Not Copying .pdb files) but it doesnt worked for me.

The reason for asking different questions is, the other post was related to Visual Studio and this is related to TFS 2018.3.

Thanks,

Sam

Shayki Abramczyk
  • 36,824
  • 16
  • 89
  • 114
Sam
  • 141
  • 1
  • 7
  • Can you share which command line you tried and what is yout build definition? – Shayki Abramczyk Oct 14 '18 at 06:58
  • msbuild C:\*****\website.publishproj /p:Configuration=Release /p:DeployOnBuild=true "/p:PublishProfile=C:\***\PublishProfiles\****.pubxml" /p:DebugSymbols=true /p:DebugType=full – Sam Oct 15 '18 at 13:30

1 Answers1

0

I can able to resolve the issue by adding below MS arguments in vNext Build,

/p:DebugType=pdbonly /p:OutputPath="$(Build.SourcesDirectory)****\Bin"

Thank you

Sam
  • 141
  • 1
  • 7