Problems with forcing GAC DLL re-install which is in use? RRS feed

  • Question

  • Hi, I have a DLL which I GAC on my web servers and my web project references. If an ASP.NET AppDomain is still running and using this DLL, and I want to redeploy my web app, I'm concerned about reinstalling the DLL with gacutil /i /f while it is in use. As a precaution, I stop iis with iisreset /stop, install the DLL and then iisreset /start. Of course, this is not ideal because I lose the ability to re-deploy my webapp without interruption.

    Is it safe to re-gac a DLL (same version, same strong name, etc.) which is currently being used by an ASP.NET AppDomain?

    Tuesday, March 25, 2008 10:58 PM