Uninstalling Assembly from GAC.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All

I have around 3 versions of same assembly installed in my GAC. Now I have to
un-install all these assem from GAC, for this I removed all the references to
these assem and called gacutil - u assname.
However it is not getting uninstalled, saying one or more applications are
using these assem.
Could anybody help me uninstalling these assem from GAC

Makarand
 
Your two most likely process candidates are Visual Studio.Net and
aspnet_wp.exe. Have you tried closing VS.Net and restarting the
aspnet_wp.exe?
 
How did you originally install the assembly?

When an assembly is installed into the GAC the application that installs it
creates a trace reference that uniquely identifies the installing
application. When uninstalled, the uninstaller identifies itself by creating
a trace reference (it should be the same as the one used to originally
install it), and the GAC will remove the trace reference. Only when there
are no more trace references will the assembly actually be deleted.

MSI may also be doing some kind of reference counting of its own - someone
else may be able to shed some light on how that works.
 
Back
Top