При попытке удалить сборку из GAC — Unable to uninstall: assembly is required by one or more applications…
By: Date: 13.04.2012 Categories: !RUS,.NET,PROGRAMMING Метки:

При попытке удалить сборку из GAC получаю ошибку


c:Program Files (x86)Microsoft SDKsWindowsv7.0ABin>gacutil -u Devart.Data
Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.30729.1
Copyright (c) Microsoft Corporation. All rights reserved.
Assembly: Devart.Data, Version=5.0.93.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=M
Unable to uninstall: assembly is required by one or more applications
Pending references:
 SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows Installer>
Number of assemblies uninstalled = 0
Number of failures = 0

c:Program Files (x86)Microsoft SDKsWindowsv7.0ABin>

Смотрим You receive an «Unable to uninstall: assembly is required by one or more applications» Windows Installer error message when try to remove an assembly from the Global Assembly Cache (GAC) by using the Gacutil.exe tool.

Нужно в ключах реестра
HKEY_CURRENT_USERSoftwareMicrosoftInstallerAssembliesGlobal
HKEY_LOCAL_MACHINESoftwareClassesInstallerAssembliesGlobal
удалить все записи о сборке которую вы пытаетесь удалить.

SNAGHTML2f535c4b