Code to add a C# class file to a project
<p>Can anybody provide some code block to add an existing C# file to a project.</p>

<p>I have 2 projects in my solution. One project generates C# class files which will be use by second project. I have to incluse these generated files in the second project and build the project. It should be done through programatically. I know that to include these files I have to edit the C#project file (which is an XML) and make an entry that file. But I thought of 
using existing code if anybody has it. </p>

<p>Thanks</p>
