eSPiYa
Apr 21st, 2010, 10:09 PM
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.
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.