the bit i know about .net...
A post I wrote that explains how to compile multiple projects into one exe file.
Check it out : http://debuggerstepthrough.com/2011/11/compiling-multiple-projects-into-single.html
Gilly.