I have two Visual Studio 2005 solutions, one of which builds a binary and all of its dependencies, and one of which builds a web app and some utilities and an installer for
If you want to automate the process you can try playing around with this tool
http://code.google.com/p/merge-solutions/