Uninstalling Assembly from GAC.

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
 
G

Guest

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?
 
D

David Levine

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top