How to know which application is using an Assembly in GAC? I want to remove unwanted assemblies from GAC but it is not getting removed as it is used by some other application.
如何知道哪个应用程序正在使用GAC中的程序集?我想从GAC中删除不想要的程序集,但是它不会被删除,因为其他一些应用程序正在使用它。
2 个解决方案
#2
2
A passive approach can be using the Visual Studio tool fuslogvw to configure logging for all assemblies that are used on your machine. Then later you can examine the log and draw conclusion of which GAC elements are not used.
一种被动的方法是使用Visual Studio工具fuslogvw为机器上使用的所有程序集配置日志记录。然后,您可以检查日志并得出不使用GAC元素的结论。
#1
#2
2
A passive approach can be using the Visual Studio tool fuslogvw to configure logging for all assemblies that are used on your machine. Then later you can examine the log and draw conclusion of which GAC elements are not used.
一种被动的方法是使用Visual Studio工具fuslogvw为机器上使用的所有程序集配置日志记录。然后,您可以检查日志并得出不使用GAC元素的结论。