[VS2008]Adding new project item
How to add a new project item in Visual Studio 2008 with a different behavior?
What I need to achieve is add an XML item which points to the several class files or a directory that contains these class files and when you compile it, these classes will be compiled too.
Same as what happens to the Service Reference.
Fore example:
I have a special folder in my project named as "ActiveRecords" and under it is a folder named "MyDB" which contains several XML files and class files(.cs or .vb).
Every time I define a new class in the main XML, it can be seen throughout my project and will be included in the compiled binaries.
Thanks for any help.
Re: [VS2008]Adding new project item
I don't know the answer to your question but, if I wanted to know, I'd go here first:
http://social.msdn.microsoft.com/Sea...%20studio&ac=1
Re: [VS2008]Adding new project item
Thanks for the response.
I think what I'm looking for is about template and its build action.
I'll try them first and give feedback if it is what I want.