none
Refresh GAC after adding same version of DLL. RRS feed

  • Question

  • Hi, 
    When i update the GAC with the new DLL with same name and version number, it doesn't gets refreshed. 
    I am aware my code is using OLD reference to the assembly from GAC. But i call the same DLL through an exe  and it works and picks up the latest. i have restarted IIS but still that doesn't work.

    The assembly is having same name and verision. Is there any way i can refesh the Gac to refer the latest assembly.

    Thanks for your help.
    Wednesday, November 12, 2008 12:12 AM

Answers

  • The correct way to clear the download cache is to use gacutil /cdl. IIS restarts or temporary file puurges will not work. Thinking about it some more, purging the temporary cache *may* work but not consistently...
    • Marked as answer by Zhi-Xin Ye Tuesday, November 18, 2008 1:59 PM
    Thursday, November 13, 2008 2:44 PM

All replies

  • Try uninstalling the first one and then install the new one.. do not overwrite.... I hope this will work..
    Wednesday, November 12, 2008 5:47 AM
  • Tried doing that as well.
    Tried recycling the application pool as well.  but didn't work.
    Wednesday, November 12, 2008 5:54 AM
  • delete your apps folder in temporary asp.net files
    MSCD | .NET Architect | EAI Consultant
    • Proposed as answer by Manuj Aggarwal Thursday, November 13, 2008 8:10 AM
    Thursday, November 13, 2008 8:10 AM
  • The correct way to clear the download cache is to use gacutil /cdl. IIS restarts or temporary file puurges will not work. Thinking about it some more, purging the temporary cache *may* work but not consistently...
    • Marked as answer by Zhi-Xin Ye Tuesday, November 18, 2008 1:59 PM
    Thursday, November 13, 2008 2:44 PM