if i have two projects in the a solution and i want to use exactly the same code file in this two projects, how do i create that file in one project and link to that file from the other?
serkan sendur
821
Postaholic
Banned
Recommended Answers
Jump to PostI don't understand anything. do you need to merge the output of two projects to one file or what??
Jump to Postooooh I got you.... but if you've the same functionality it's logical to deploy them as executable (e.g .dll) and refer to them from the projects need to use this logic..
Example
You've 10 projects should use some mathematical operations I do, I should deploy my operations in dll …
Jump to PostYou can just create a folder under the solution (Right click on the solution node then create folder then drag drop items) but take care you just add a reference to files which is mainly located in projects that's mean, you can't add file to this folder from project1 and …
Jump to Posti think it`s better to divide ur programe.cs classes into more than DLL or u can alot of classes in one namspace ; but u can add project1 in solution and adding the project1 namespace in ur certain project the choose ur class ;
Jump to Posti started to wonder your age.. how old are you?
95 years old
All 22 Replies
Ramy Mahrous
401
Postaholic
Featured Poster
serkan sendur
821
Postaholic
Banned
Ramy Mahrous
401
Postaholic
Featured Poster
serkan sendur
821
Postaholic
Banned
Ramy Mahrous
401
Postaholic
Featured Poster
serkan sendur
821
Postaholic
Banned
BlackSun
4
Light Poster
zig007
0
Newbie Poster
serkan sendur
821
Postaholic
Banned
zig007
0
Newbie Poster
serkan sendur
821
Postaholic
Banned
zig007
0
Newbie Poster
serkan sendur
821
Postaholic
Banned
Ramy Mahrous
401
Postaholic
Featured Poster
zig007
0
Newbie Poster
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
serkan sendur
821
Postaholic
Banned
serkan sendur
821
Postaholic
Banned
serkan sendur
821
Postaholic
Banned
Rashakil Fol
commented:
rambling offtopic like a wannabe
-2
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
serkan sendur
commented:
very beneficial
+3
Ramy Mahrous
401
Postaholic
Featured Poster
serkan sendur
821
Postaholic
Banned
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.