本文介绍了我可以通过安装GACUTIL,但不能卸载同一个DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经安装使用GACUTIL的DLL。
I have installed a DLL using the gacutil.
gacutil.exe /i SI.ArchiveService.CommonLogic.Exceptions.dll
使用GACUTIL / l所示,它确实安装。
Using the gacutil /l shows that it is indeed installed.
SI.ArchiveService.CommonLogic.Exceptions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=925c8734ae397609, processorArchitecture=MSIL
然后我想卸载它。
gacutil.exe /u SI.ArchiveService.CommonLogic.Exceptions.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.30729.1
Copyright (c) Microsoft Corporation. All rights reserved.
No assemblies found matching: SI.ArchiveService.CommonLogic.Exceptions.dll
Number of assemblies uninstalled = 0
Number of failures = 0
为什么不这项工作?我怎么卸载呢?
Why doesn't this work? How do I uninstall it?
推荐答案
安装的组件需要的的路径名的DLL的。卸载需要装配的的显示名称的。它们不必彼此相似。检查 Assembly.FullName
属性。 的Gacutil.exe / L
(ELL如表)让你的显示名称的列表。
Installing an assembly requires the path name of the DLL. Uninstalling requires the display name of the assembly. They don't have to resemble each other. Review the Assembly.FullName
property. gacutil.exe /l
(ell as in list) gets you a list of display names.
这篇关于我可以通过安装GACUTIL,但不能卸载同一个DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!