使用C#搜索Assembly GAC

编程入门 行业动态 更新时间:2024-10-26 07:38:22
本文介绍了使用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

本文发布于:2023-11-13 09:25:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584001.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Assembly   GAC

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!