从 GAC 卸载旧版本的 Microsoft.AnalysisServices.AdomdClient
我需要从 GAC 卸载此 DLL 的旧版本才能运行安装程序,但收到“访问被拒绝”错误。有人知道如何删除这个 DLL 吗?
I need to uninstall an old version of this DLL from the GAC in order to run an installer, but I receive an "Access Denied" error. Does anybody have an idea on how I can remove this DLL?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您要查找的命令是:
gacutil.exe
的文档可用这里。显然,您需要为此使用 SDK,gacutil.exe
不再随 .NET Framework 一起安装。另外,请确保您正在运行
gacutil.exe
的正确版本。它应该与您尝试卸载的程序集的版本匹配。最后,确保您以管理权限运行。您可能需要启动提升的命令提示符才能执行该命令。
The command you're looking for is:
The documentation for
gacutil.exe
is available here. You obviously will need the SDK for this,gacutil.exe
is no longer installed with the .NET Framework.Also, make sure that you're running the correct version of
gacutil.exe
. It should match the version of the assembly that you're trying to uninstall.Finally, make sure that you're running with administrative privileges. You may need to start an elevated command prompt to execute the command.