why can not delete assembly from GAC?

  • Thread starter Thread starter 30906024
  • Start date Start date
3

30906024

I intalled an assembly into GAC by gacutil.exe.
But when i delete it from GAC by gacutil.exe, i got an error message such as
follow:

Assembly: Client.Common, Version=1.0.1.0, Culture=neutral,
PublicKeyToken=01aef4fcc8ad7772, Custom=null
Unable to uninstall: assembly is required by one or more applications
Pending references:
SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows
Installer>

So i want to delete it directely from assembly folder and .net framework
configuration tools, but failed.

So who can tell me why cann't delete assembly from GAC and how to delete it?
 
If an assembly was installed into the GAC by Windows Installer (regardless of if you also installed it yourself with gacutil), it becomes referenced
counted and locked. Before you can remove the assembly from the GAC you need to uninstall any applications that had Windows Installer also
install the assembly.

-Shawn

--

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they
originated.
--------------------
 
Back
Top