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?
You don't need them to run.
pdb files can be used to debug even if the build is on release configuration.