   [VS.net 2008] create files when compiling
  hi,Sorry if this is not sure this is the wright place to post this.I want to create files when I compile my solution but I have no Idea how to...here's what I want :check all classes (unknown number of classes) derived from a (given) class if a string isn't empty, if not create a (text)file with some info (member data of the class).How can this be done?the problem is that I want those files created when I compile my solution...so that I get an executable and the files.I hope you understand my problem!I'm using Visual Studios 2008.grtz   
  Are you trying to automate the Visual Studio or you want to dynamic generate source/assembly?If former, then: Automation and Extensibility Reference If later, then: AssemblyBuilder Class Hope it helps.   