General information
Category:
Coding, syntax and commands
>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?
Sure :)
Create Solution
Add Project1 where your "Shared" files located
Add or Create Project2
Add Project1 reference to Project2
Now you will have solution with both projects :) (nealy the same what you want to modify just one instance)
and reference to the file in second project
Denis.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only