|
-
Apr 21st, 2010, 10:09 PM
#1
Thread Starter
Fanatic Member
[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.
-
Apr 23rd, 2010, 01:16 AM
#2
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
-
Apr 23rd, 2010, 01:31 AM
#3
Thread Starter
Fanatic Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|