Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reusable classes
Message
From
06/08/2010 11:44:30
 
 
To
02/08/2010 13:58:24
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
Miscellaneous
Thread ID:
01474897
Message ID:
01475540
Views:
27
>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
Map
View

Click here to load this message in the networking platform