What specific options are you using when running the deployment project?
The default is "Merge all assemblies to a single assembly". You could try one of the other options, eg "Merge each individual folder to its own assembly" or "Merge all pages and controls outputs to a single assembly" to see if any of them works.