Do you have to deploy the .pdb file with compiling under release?

后端 未结 11 1761
悲&欢浪女
悲&欢浪女 2020-12-24 00:33

Do you have to deploy the .pdb file with compiling under release?

Why does it even compile a .pdb when you do a release build anyway?

11条回答
  •  猫巷女王i
    2020-12-24 01:33

    Nope. You don't need to distribute them. It'll help with debugging (or I should say it will make debugging possible for sane people).

    You can also turn off or adjust the 'level' of symbols generated in Visual Studio -- just go to Project Properties / 'Build' tab / 'Advanced' -- and make adjustments to the 'Debug info' field.

提交回复
热议问题