How to reference a dll without VStudio making a copy of it -- the original location is referenced
Posted on 2009-07-08
The scenario is like this: let's say you have a bunch of utility methods and classes all contained in one dynamic library (dll). You use / reference that dll in many projects, but you also are frequently making changes to this dll (improvements, etc). But with every change, you have to find each project using this dll and update them with the new one. Not fun, not practical. I would like to do this: when you go to "References" and "Add Reference", when you browse and add the dll, that VStudio just makes reference to the original folder location, not making a local copy into your xy or z project that's using it. I'm wanting to avoid installing to the GAC, (for the reason just stated: "but you also are frequently making changes to this dll (improvements, etc)"; this is too fluctuating to add there just yet) ... but ... maybe that is the only way to do this? By the way -- I'm only talking about being in Debug mode, which also means, of course, staying on the same computer / harddrive, so the referenced dll location of course must remain valid (with the dll there where specified) -- in actual deployment, of course the dlls would have to ship along in the deployed project.