简体   繁体   中英

Deploy PDB files for Azure Webjob

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

申请文件

But they are still not deployed:

申请文件

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!

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.

在此处输入图片说明

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

在此处输入图片说明

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM