Ok, I have made available to the world the first of my CodeSmith Templates (for VB.Net).
You can get it here. This is a template to produce the kind of code I discussed here. Enjoy.