c# - Difference Between DLL Reference's? And Uses? -
please 1 explain this. question helps understand common things
question:
what difference between when 'add
dll
reference 1 project project via browse option , adddll
reference solution project project , copy-paste 1 project project'?
i have found answer on google
answer:
adding project reference adds local project's dll project references it, , every time solution compiles, updated dll project gets copied other project. when go through build process, if have 5 projects, each 1 rebuilds dll, , copies dll references.
but:
i don't know process , difference when copy-paste 1 project project?
when copy paste 1 project another, dependent project add reference of file have paste in project solution directory
when copy paste dll of 1 project other project's directory , add reference browsing directory have pasted dll. vs add reference , copy dll bin folder , show (allows you) method , properties contains.
if change in source project solution adding or modifying methods updated dll of project not available in dependent project solution.
so vs still points old dll file because of reference added. whenever made change in source project solution, have add reference of updated dll dependent solution every time.
in second case: when add reference of source project dependent project solution, vs take recent updated dll source project dependent project. in way don't need add reference every time compile code or debug.
Comments
Post a Comment