无法从GAC卸载程序集? [英] Unable to uninstall an Assembly from GAC?

查看:251
本文介绍了无法从GAC卸载程序集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法从GAC卸载程序集(log4net.dll)。它给出以下错误。

I am unable to uninstall an Assembly (log4net.dll) from GAC. It is giving following error.

一个或多个应用程序需要组装。

但是,如果我使用ProcessExplorer搜索程序集,什么都没发生?如何从GAC中删除此程序集?

However if I search the Assembly using ProcessExplorer nothing comes up? How can I remove this Assembly from GAC?

推荐答案

您是否考虑过阅读此知识库文章并尝试一下?

Have you considered reading this KB article and trying it out?


警告可能会出现严重问题如果您使用注册表编辑器或其他方法错误地修改了注册表。这些问题可能需要您重新安装操作系统。 Microsoft无法保证可以解决这些问题。修改注册表需要您自担风险。

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

要变通解决此问题,请在注册表编辑器中检查以下子项的值列表:

To work around this problem, examine the list of values for the following subkeys in Registry Editor:

HKEY_CURRENT_USER\软件\Microsoft\Installer\Assemblies\Global
HKEY_LOCAL_MACHINE\Software\Classes\Installer\Assemblies \全局

如果该条目的值是Windows Installer描述符,则删除该条目。
例如,该值可能是类似于以下内容的REG_MULTI_SZ条目:
= ysgSC6wx9uiD1dqmmjW> m $!GP ^ D'A @?z} gn3} lta

If the value for the entry is a Windows Installer descriptor, delete the entry. For example, the value might be a cryptic REG_MULTI_SZ entry that resembles the following: =ysgSC6wx9uiD1dqmmjW>m$!GP^D'A@?z}gn3}lta

注意,您必须删除条目。不要只是清除条目的值。

Note You must delete the entry. Do not just clear the value of the entry.

这篇关于无法从GAC卸载程序集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆