Does anyone know how to automatically include CodeDom generated source file in a project

Jul 1 2009 10:09 AM
I've finally finished creating all the code I need with CodeDom, placing all source code (.cs files) in the project directories that I want them in. But there they are, just sitting there; Visual Studio doesn't see them. I want to, just like when you create a new DataSet or whatever, that the code gets generated and included in the proper projects. Does anyone know how to do this?