For a while now, I've been building a freeware .NET application that does automatic generation of .NET code and documentation. It's now in the polishing stage, and should be hosted here shortly.
The guiding principles behind this app include core simplicity with all complexity moved towards the edge, and the generation of extensive documentation to help developers trust the generated code.
More shortly on the problems with code generation, and some ideas on solving those problems.