0

I'm trying to publish my WebJob along with the PDB files, but it's not working. I have included them under Properties -> Publish -> Application files.

As per this Answer

Application files

But they are still not deployed:

Application files

I'm publishing by right clicking the project and then "Publish as Azure WebJob" using a publish profile. The PDB files are copied to the bin/release folder when building locally in release-mode.

I don't know what else to do, so any help is much appreciated!

Community
  • 1
  • 1
Boenne
  • 37
  • 5

1 Answers1

1

A PDB file stands for a program database file and it is generated if we are building a program running a program that needs the ability to debug and that just means check for errors. So if we are building a program and we need to test run to see if it's running correctly it will generate one of these files holds sort of all the configuration and debugging data for that. We can remote debug the continue WebJob when we published our WebJob with Configuration Debug.

If we configuration debug and then publish the WebJob to the azure, we can deploy PDB files for Azure WebJob.

enter image description here

Then we can check that pdb files are uploaded to the kudu.

enter image description here

I'm publishing by right clicking the project and then "Publish as Azure WebJob" using a publish profile. The PDB files are copied to the bin/release folder when building locally in release-mode

So base on my understanding, it seems not make sense to upload pdb files to the Azure WebJob with configuration release.

Tom Sun - MSFT
  • 24,161
  • 3
  • 30
  • 47