Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reusable classes
Message
From
02/08/2010 14:55:39
 
 
To
02/08/2010 14:05:55
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
Miscellaneous
Thread ID:
01474897
Message ID:
01474903
Views:
54
>>>Hi again,
>>>
>>>Well, another newbie question.
>>>
>>>I have a vb file containing a class definition. I what to be able to use the same vb file is different solutions. But when I reference an existing vb file in a location outside the project, VS makes a copy of the original and passes it in the current project folder. Hence, I now of two copies of the file. Now when I modify one of the copies, I have make sure I update all the other copies.
>>>
>>>Is there a way to have a central repository of shared files that all project share?
>>
>>Can you build your generic classes into dll and reference this dll in your projects?
>
>I thought about do that, but felt the classes were small enough that they didn't require becoming DLLs.

Naomi's right - put them in a separate project.
Having lots of little DLL's in .NET is no big deal. Takes a while to start thinking that way but remember these aren't the same animal as COM DLLs.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform