I am using MSBuild command line to build my project and with the help of DebugType=None, the project is no longer producing a PDB file when it compiles - which is what I need as these mess up Clickonce Deployment. However all of the referenced DLLs of the project get copied to the build output folder along with THEIR PDB files.
Is there any way I can prevent MSBuild including referenced library PDBs when copying build output?