I write programs used internally by our company. I've created several support DLLs that I reference in many projects. (a generic data access helper for example) Instead of having a copy of "datatools.dll" in every program directory (seems to be default behavior) I would like to have one copy that can be referenced by many programs. Kinda like my own system32 directory.
I have added a "Reference path" to my project. I compile the project then the deployment project. The installer works fine. The shared dlls are in my Reference path. But when I run the program I get the error "System.IO.FileNotFoundException: Could not load file or assembly 'datatools.dll, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified." If I move datatools.dll into the same folder as the exe the program runs without a problem.
Can I create and use a shared location for shared dlls? Or is this just a bad idea?