At attempt to delete the assembly from GAC — Unable to uninstall: assembly is required by one or more applications…
By: Date: 13.04.2012 Categories: !ENG,.NET,PROGRAMMING Метки:

At attempt to delete the assembly from GAC I receive an error


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>

Link — 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 .

It is necessary in register keys to delete all records about the assembly which you try to delete.
HKEY_CURRENT_USERSoftwareMicrosoftInstallerAssembliesGlobal
HKEY_LOCAL_MACHINESoftwareClassesInstallerAssembliesGlobal

SNAGHTML2f535c4b