M
MR E
Ok, Im confused, someone please clear things up for me. I know this may seem
like a stupid question.
I built a DLL that is to be used by all of our applications to perform
routine tasks. When the discussion came up about weather or not to store this
DLL in the GAC or in the individual projects, I had suggested the GAC. My
thought was that IF an update needs to take place, we wouldn’t have to update
the bin folder of every application. Instead we would simply uninstall the
old assembly from the GAC and install the newer version.
Now Im finding out that you cant reference the GAC, that you still would
need to have the DLL in a local directory and set the do not copy local
option. This would only work assuming that you development server drive
letters and paths match the production server
This to me defeats the purpose and maybe I don’t understand. If I cant
reference the GAC then, it means I would need to rebuild the project on the
Production server as well as the Development server because (in our case),
the driver letters and folder paths don’t match. So what may exist in C:\My
Assembles on our development box surely wont exist on the production box
unless I’m allow to create the path on the production box. Unfortunately our
production sites do not go to the C: drive. What’s the purpose of the GAC if
you cant reference it and still required to reference a copy of the DLL
outside the GAC
like a stupid question.
I built a DLL that is to be used by all of our applications to perform
routine tasks. When the discussion came up about weather or not to store this
DLL in the GAC or in the individual projects, I had suggested the GAC. My
thought was that IF an update needs to take place, we wouldn’t have to update
the bin folder of every application. Instead we would simply uninstall the
old assembly from the GAC and install the newer version.
Now Im finding out that you cant reference the GAC, that you still would
need to have the DLL in a local directory and set the do not copy local
option. This would only work assuming that you development server drive
letters and paths match the production server
This to me defeats the purpose and maybe I don’t understand. If I cant
reference the GAC then, it means I would need to rebuild the project on the
Production server as well as the Development server because (in our case),
the driver letters and folder paths don’t match. So what may exist in C:\My
Assembles on our development box surely wont exist on the production box
unless I’m allow to create the path on the production box. Unfortunately our
production sites do not go to the C: drive. What’s the purpose of the GAC if
you cant reference it and still required to reference a copy of the DLL
outside the GAC