Hi Andy,

You may be experiencing a variation of this:

http://blogs.msdn.com/alanshi/archive/2003/12/10/42690.aspx

If the assembly is actually present in the GAC and you really want it gone, as an 
absolute last resort you can bute-force the removal. From a command prompt:

del /q /s %SYSTEMROOT%\assembly\GAC\MyAssembly

Cheers,

Mark

----- Original Message -----
From: Andy Smith <[EMAIL PROTECTED]>
Date: Wednesday, July 7, 2004 1:11 am
Subject: [ADVANCED-DOTNET] Uninstalling From GAC

> Hi. I'm having a problem where .NET does not let uninstall a 
> component from
> the GAC. Using the gacutil.exe /u doesn't do it, neither does 
> using the
> force option (/uf), nor forcing a re-install (/if) and then forcing
> uninstall. Neither does deleting it from the Assembly Cache 
> configurationapp. When using the GUI, it simply says 'There was an 
> error removing
> MyAssembly.dll'. When I use the command line it gives me this:
> 
> --------------------------------------------
> C:\Lib>gacutil /u MyAssembly.dll
> 
> Microsoft (R) .NET Global Assembly Cache Utility.  Version 
> 1.1.4322.573Copyright (C) Microsoft Corporation 1998-2002. All 
> rights reserved.
> 
> No assemblies found that match: MyAssembly.dll
> 
> Number of items uninstalled = 0
> Number of failures = 0
> --------------------------------------------
> 
> Even though the assembly does in fact exist in that folder (c:\lib).
> 
> Anybody have any ideas? I'm lost, I even did a complete search of the
> registry and didn't find a reference to it, so I guess GAC doesn't 
> use the
> registry. Any help is much appreciated...
> 
> Thanks!
> 
> Andy
> 
> ===================================
> This list is hosted by DevelopMentor�  http://www.develop.com
> Some .NET courses you may be interested in:
> 
> NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
> http://www.develop.com/courses/gaspdotnetls
> 
> View archives and manage your subscription(s) at 
> http://discuss.develop.com

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to