Multiple applications using shared DLLs
I have a few different applications that share some common DLLs. At the moment I am copying each DLL into the application root folder (for each application) and it all works fine.
Obviously this isn't exactly the most efficient way as if I need to make a change in one, I need to redeploy this several times to all the different folders. Ideally I would like the DLLs to be installed into the Common folder in the Program Files dir and my application just pointing to them. I can do this through my setup application.
However, the issue is, how do I tell my application to look for those DLLs in the common folder and not its root? I currently reference the DLLs by adding the actual Lib projects to the solution and then just adding them from the Projects tab. So in order for the application to realise it needs to look in the common do I need to move those files to that folder first and then reference them? I would imagine there must be a neater way than this?
Why don't you deploy it in Global Assembly Cache(GAC)? Its shared between all the installed applications. You can install to GAC using gacutil command.