Unable remove assembly from GAC

T

tvaidie

Hi all


I have two one signing assembly registered in GAC in two different version.
I want to remove them but I don't seem able to do so. First I used
gacutil.exe, failed with this error message

C:\>gacutil /u myCompany.theAssemblyName.dll

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

No assemblies found that match: myCompany.theAssemblyName.dll

Number of items uninstalled = 0
Number of failures = 0

I tried delete the assembly from windows explorer c:\winnt\assembly but also
to no avail. Now I'm stump, any one has any idea what am I doing wrong?

TIA
 
T

tvaidie

Update
I deleted HKEY_CLASSES_ROOT\Installer\Assemblies\Global 's default value and
executed command. Now I'm getting this error message.

C:\>gacutil /u theCompanyName.theClassName

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


Assembly: theCompanyName.theClassName, Version=0.1.1811.33601,
Culture=neutral, PublicKeyToke
n=b507931596aba43d, Custom=null
Unable to uninstall: assembly is required by one or more applications
Pending references:
SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows
Ins
taller>

Assembly: theCompanyName.theClassName, Version=0.1.1811.34968,
Culture=neutral, PublicKeyToke
n=b507931596aba43d, Custom=null
Unable to uninstall: assembly is required by one or more applications
Pending references:
SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows
Ins
taller>

Number of items uninstalled = 0
Number of failures = 0
 
T

tvaidie

I figured it out.

Thanks

tvaidie said:
Update
I deleted HKEY_CLASSES_ROOT\Installer\Assemblies\Global 's default value and
executed command. Now I'm getting this error message.

C:\>gacutil /u theCompanyName.theClassName

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


Assembly: theCompanyName.theClassName, Version=0.1.1811.33601,
Culture=neutral, PublicKeyToke
n=b507931596aba43d, Custom=null
Unable to uninstall: assembly is required by one or more applications
Pending references:
SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows
Ins
taller>

Assembly: theCompanyName.theClassName, Version=0.1.1811.34968,
Culture=neutral, PublicKeyToke
n=b507931596aba43d, Custom=null
Unable to uninstall: assembly is required by one or more applications
Pending references:
SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows
Ins
taller>

Number of items uninstalled = 0
Number of failures = 0
 

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