Information générale
Catégorie:
Code, syntaxe and commandes
Versions des environnements
>>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement