Global Assembly Cache



I took over a legacy e-commerce project that utilized.NET 1.1 to create the website code and all associated assemblies. This code is used to power around 75 web sites on a single web server. Right now they have a separate directory for each store, complete with a \bin folder that contains about 20 DLL files. The \bin folder is replicated for each store, so we have about 70 copies (I'll explain the missing 5 in a second) of the same \bin directory sitting around. When it comes time to make a change in the code, it's a pain.

Here are my questions:

1) Can I simply drop these DLL files in the GAC (I'm aware of the requirements for registering an assembly in the GAC) and then delete the corresponding DLL files in the \bin folder for each site?

2) There are 5 or 6 sites that have had customizations performed to the code. I do NOT want these few sites to load the assembly from the GAC, rather I want them to continue to load the DLL in it's \bin folder. Can I override the GAC files by simply keeping the custom DLL in the sites \bin folder? If not, what's the recommended approach?

Remember, this is all .NET 1.1. :)

Thanks!

Scott

.



Relevant Pages

  • RE: AppDomain wont recycle on web.config change since 1.1 to 2.0
    ... All assemblies are in the GAC. ... All assemblies are in the GAC, we do not have a /bin folder. ... application restart and even it did, some assembly will not load correctly ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: using GAC
    ... When you look at the GAC in explorer, it actually isn't a folder view. ... so that you can compile your code. ... you should drop your assemblies into a local folder, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Appl. Security Problems
    ... Recompile your three assemblies in release mode. ... If any copies ended up the GAC (for example, ... Attempt to run the EXE from the network folder. ...
    (microsoft.public.dotnet.security)
  • Re: Add .NET Reference in VS 2005
    ... > The reason I want my code-behind in the GAC is for deployment. ... assemblies, added a key file and precompiled the site. ... Then I copied the site to another folder and deleted the ... David ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Global Assembly Cache
    ... requirements for registering an assembly in the GAC) and then delete the corresponding DLL files in the \bin folder for each site? ... I do NOT want these few sites to load the assembly from the GAC, rather I want them to continue to load the DLL in it's \bin folder. ...
    (microsoft.public.dotnet.languages.csharp)

Loading