如何找出组件的程序集引用? [英] How to find out what assemblies an assembly references?

查看:138
本文介绍了如何找出组件的程序集引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个程序集(类库的DLL)引用Microsoft.ReportViewer.WebForms。我需要找出什么版本Microsoft.ReportViewer.WebForms的被引用。有没有办法,能做到这一点的工具?有点像的Dependency Walker为Win32 DLL的,但我需要得到充分的程序集引用(包括版本和公钥标记)。

I have an assembly (class library DLL) that references Microsoft.ReportViewer.WebForms. I need to find out what version of Microsoft.ReportViewer.WebForms it is referencing. Is there a tool that can do that? Kind of like Dependency Walker for win32 dlls, but I need to get the FULL assembly reference (including the version and public key token).

的事情是我的DLL是集生产与所有的ReportViewer dll是8.0.0.0,但我得到一个错误说,它不能加载10.0.0.0版本。所以,我只是需要一个会告诉我,我的DLL被引用的参考文献的完整列表的工具。

The thing is my DLL is in production and all the ReportViewer DLLs are 8.0.0.0, but I am getting an error saying it can't load the 10.0.0.0 version. So I just need a tool that will show me the full list of references that my DLL is referencing.

感谢

推荐答案

请尝试使用 ILSpy ,它会告诉你需要的信息。只要打开组件吧。

Try with ILSpy, it will show the info you need. Just open the assemblies with it.

这篇关于如何找出组件的程序集引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆