title: C# Code Generation
body: <p>I am looking at creating a small class generator for a project.  I have been reading about  CodeDOM so it the semantics of creating the classes does not appear to be an issue, but am unsure oh how to best integrate the generation into the development and deployment process.</p>
  
  <ol>
  <li><p>How should I trigger the creation of the classes?  I have read it should be part of the build process, how should I do this?</p></li>
  <li><p>Where should the classes be created?  I read that the files should not be edited by hand, and never checked into source control.  Should I even worry about this and just generate the classes into the same directory as the generator engine?    </p></li>
  </ol>