Last post Sep 09, 2016 01:58 PM by deepalgorithm
Sep 08, 2016 12:03 PM|Rinku15|LINK
I have one project 'A' build under one solution. And have a requirement to use the same within various other solutions i.e. 'B','C','D' etc.
I use a dll reference technique to add the reference in 'B','C','D' etc.
But the problem with this technique is if any change required in 'A' then i have to build 'A' as well as i have to add reference of new 'A' in all other solutions i.e. 'B','C','D' etc.
Is their any other design architecture exist which i can use to reduce such efforts means if i need to change 'A' then only required to build this project.
Kindly suggest some solution with example. I am using .net framework 4.5.
Sep 08, 2016 05:54 PM|deepalgorithm|LINK
A project can be referenced by multiple solutions and / or projects. Use a "Project Reference" instead.
"Adding a Project Reference in Visual Studio"
Sep 09, 2016 07:37 AM|Rinku15|LINK
Is it not i am duplicating my code by doing so ?
Correct me if i am wrong.
Sep 09, 2016 01:58 PM|deepalgorithm|LINK
No you are not duplicating your code. The code is only in that one project. You are just referencing the project from other projects. It will build automatically when you build the solution.