title: Preventing referenced assembly PDB and XML files copied to output
body: <p>I have a Visual Studio 2008 C#/.NET 3.5 project with a post build task to ZIP the contents. However I'm finding that I'm also getting the referenced assemblies' .pdb (debug) and .xml (documentation) files in my output directory (and ZIP). </p>
  
  <p>For example, if MyProject.csproj references YourAssembly.dll and there are YourAssembly.xml and YourAssembly.pdb files in the same directory as the DLL they will show up in my output directory (and ZIP).</p>
  
  <p>I can exclude *.pdb when ZIP'ing but I cannot blanket exclude the *.xml files as I have deployment files with the same extension.</p>
  
  <p>Is there a way to prevent the project from copying referenced assembly PDB and XML files?</p>