Refresh GAC after adding same version of DLL.
-
Wednesday, November 12, 2008 12:12 AMHi,
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.
Answers
-
Thursday, November 13, 2008 2:44 PM
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
All Replies
-
Wednesday, November 12, 2008 5:47 AMTry uninstalling the first one and then install the new one.. do not overwrite.... I hope this will work..
-
Wednesday, November 12, 2008 5:54 AMTried doing that as well.
Tried recycling the application pool as well. but didn't work. -
Thursday, November 13, 2008 8:10 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 2:44 PM
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

