The GAC is implemented as a directory, called "assembly\GAC", found in the windows system directory, and each assembly contained in the GAC is represented by a subdirectory. You can verify this from the commandline, as the windows explorer will not show you the directory structure.
To remove an assembly from the GAC you can use the commandline tools rmdir or "del /s /f" to delete the assembly's subdirectory from the GAC directory. Regards, Paul -----Original Message----- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Ross Diesel Sent: Thursday, January 08, 2004 2:15 AM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Removing a referenced assembly from the GAC Hi How would one go about removing a referenced assembly from the GAC if the referencing app is the windows installer? C:\>gacutil /u Microsoft.ApplicationBlocks.ExceptionManagement Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573 Copyright (C) Microsoft Corporation 1998-2002. All rights reserved. Assembly: Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.1453.1709 5, Culture=neutral, PublicKeyToken=fe948a0bc7989604, 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 Further info... * the assembly was originally registered using gacutil /i, subsequently a referencing deployment project was created, installed and uninstalled using windows installer. * there is a /uf switch which forces removal of referenced assemblies except if the ref happens to be windows installer ;-( regards =================================== This list is hosted by DevelopMentor(r) http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 26 Jan 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, 26 Jan 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com