Cannot remove assembly from cache

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

Guest

Hi,

I tried to remove assembly from Framework 1.1 Configuration, it says 'Error
removing assembly' I then hit the gactil which results the following

Microsoft (R) .NET Global Assembly Cache Utility. Version
1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Assembly: foo, Version=1.0.1.1, Culture=neutral,
PublicKeyToken=1234567890123456, Custom=null
Assembly could not be uninstalled because it is required by Windows
Installer
Unable to uninstall: assembly is required by one or more applications
Pending references:


SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows
Installer>

Number of items uninstalled = 0
Number of failures = 0
---------------------------------------------------------

I also looked the following registry keys, but there is no such entry.


HKEY_CURRENT_USER\Software\Microsoft\Installer\Assemblies
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Assemblies




Any help would be really appreciated.

Thanks in advance,

Fahad
 
Fahad said:
Hi,

I tried to remove assembly from Framework 1.1 Configuration, it says
'Error removing assembly' I then hit the gactil which results the
following

Microsoft (R) .NET Global Assembly Cache Utility. Version
1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Assembly: foo, Version=1.0.1.1, Culture=neutral,
PublicKeyToken=1234567890123456, Custom=null
Assembly could not be uninstalled because it is required by Windows
Installer
Unable to uninstall: assembly is required by one or more applications
Pending references:


SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows
Installer>

Number of items uninstalled = 0
Number of failures = 0
---------------------------------------------------------

What this says is that an installer application has added the assembly to
the GAC using gacutil /ir (rather than /i). To uninstall it you must use /ur
and give the installer scheme. For more details see my tutorial:

http://www.grimes.demon.co.uk/workshops/fusWSSeven.htm

Richard
 
Back
Top