本文介绍了使用C#搜索Assembly GAC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找一种搜索某个dll的存在的方法,该dll可能会或可能不会在GAC中加载.有理想吗? 很抱歉,我需要在应用程序中执行此操作,以查看所有组件(dll)是否都是最新的.
I am looking for a way to search for the existence of a certain dll that may or may not be loaded in the GAC. Any ideal? I''m sorry I need to do this from within a application to see if all the components (dll) are current.
推荐答案只需转到GAC文件夹并看看该dll是否存在. 转到->开始->运行.在此处键入assembly,然后按Enter.您将能够看到GAC文件夹. Just go to the GAC folder and see if that dll is there. Goto->start->run. Type assembly here and press enter. You will be able to see the GAC folder.
使用本文来获取系统GAC当前内容的列表: 未公开文档的融合 [ ^ ] Use this article to get a list of your current contents of your systems GAC : Undocumented Fusion[^]
hi 我发现这段代码会有所帮助.该代码将列出GAC中加载的所有dll. www.dreamincode/code/snippet2001.htm hi I found this bit of code that will help. The code will list all the dll that are loaded in GAC. www.dreamincode/code/snippet2001.htm
更多推荐
使用C#搜索Assembly GAC
发布评论