I use ILMerge to merge all binaries in to one due to an MS Dynamics limitation.
It use to be a manual process specifying all the binaries to merge but I found this article to automatically find the dependencies for a project and merge them in to the assembly using the AfterBuild target - instructions here.
The downside here is that I need to edit the csproj file and add the <import>
element in for every project I want to ILMerge. Is there a way I can do it for every project in a solution (preferably every project in a solution folder)?