(.NET) Sharing components between multiple projects?
I''ve been trying to figure out how I can share the same class between multiple projects such that if I update the class in one project it will update in the other project.
While looking through the VB.NET DirectX 9 samples I noticed that in the solution window where it lists all the files associated with the project, that there are many "shortcuts" to files that are shared between all the sample projects. This is what I want to do with my own project.
Thanks for any ideas.
add one physical file to two or more projects.
[edited by - niyaw on March 1, 2003 12:23:25 AM]
[edited by - niyaw on March 1, 2003 12:23:25 AM]
(a) use SOurceSafe and branch the files in thre - so that you "includ3" different files in both projects. SourceSafe wamkes sure they stay in sync.
(b) better: forget abut it. But the shared things into a separate assembly.
Regards
Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)
(b) better: forget abut it. But the shared things into a separate assembly.
Regards
Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)
Project->Add Existing Item. Find the file you want. Click the little arrow beside the Open button. Choose Link File.
"If there is a God, he is a malign thug."
-- Mark Twain
"If there is a God, he is a malign thug."
-- Mark Twain
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement