ILMerge is a utility for merging multiple .NET assemblies into a single .NET assembly. It works on executables and dlls alike. It comes with several options for controlling the processing and format of the output, see the accompanying documentation for details.  
http://www.msdn.microsoft.com/netframework/downloads/tools/default.aspx