My issue is copying *.cs files to my project using my own code generator program (like hibernate) So when my code generator program creates new .cs class I want it to be copied to project path and see it via VS2008 solution explorer.
(Note: Normally you can copy files to project folder but VS2008 doesn’t see it since you didn’t use VS2008 interface)
Thanks for your brilliant answers.
To add files to the project, you’ll have to parse and modify the C# project (.csproj) file. You need to add tags for:
See your existing .csproj file for more examples of files you can add.