Archived

This topic is now archived and is closed to further replies.

(.NET) Sharing components between multiple projects?

This topic is 5404 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
(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)

Share this post


Link to post
Share on other sites