(.NET) Sharing components between multiple projects?

Started by
3 comments, last by FieroAddict 21 years, 1 month ago
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.
Advertisement
add one physical file to two or more projects.

[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)
RegardsThomas TomiczekTHONA 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
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]
Awesome, thanks for the help.

This topic is closed to new replies.

Advertisement