Link to home
Start Free TrialLog in
Avatar of PUB_UL
PUB_UL

asked on

how to update references automatically

Hi Folks,

I have a VS Solution which contain 1 dll project. That dll is used in 3 differents projects..

My question is what is the best way to work so that when I recompile my dll, it updates in the other 3 projects ?? Lets say I have a Visual Studio open with that dll and another VS opened for a project.. when I compile the dll, and I recompile the project, is there a way so the project get the lastest dll automatically?

Thanks!
Avatar of Thandava Vallepalli
Thandava Vallepalli
Flag of United States of America image

make that dll as shared dll.......

itsvtk
Here is an artical on how to add shared assembly to GAC (Global Assembly Cache) so that all application will point to same dll

http://www.c-sharpcorner.com/Code/2003/Jan/InstallingGAC.asp
Avatar of PUB_UL
PUB_UL

ASKER

humm.. but if I install the dll into the GAC..

when I update it, will the other project point to the lastest version automatically ?
ASKER CERTIFIED SOLUTION
Avatar of Thandava Vallepalli
Thandava Vallepalli
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PUB_UL

ASKER

I thought the version number was incremented automatically??
check in AssemlyInfo.vb file   under verions information......  if it gets changed, you chang it to old version..  

i think it wouldn't be changed automatically

If you specify a version number in AssemblyInfo.vb file, it will not get changed.
If you don't, it will change automatically each time compiled.