Jump to content
  • Advertisement

Archived

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

FieroAddict

(.NET) Sharing components between multiple projects?

This topic is 5619 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
Advertisement
add one physical file to two or more projects.

[edited by - niyaw on March 1, 2003 12:23:25 AM]

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
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!