How do you compile different classlibraries to one dll?

.net, c#, compilation, visual-studio

Solution

See whether ilmerge (homepage / download site) does what you want it to:

ILMerge is a utility that can be used to merge multiple .NET assemblies into a single assembly. It is freely available for use from the Tools & Utilities page at the Microsoft .NET Framework Developer Center.

Problem

The question explains it all. I have different class libraries but I would like to compile them into one general DLL. Is this possible? I'm using .NET 3.5 with visual studio 2008.

Original source