分析 .NET 应用程序中程序集依赖关系的好工具是什么

发布于 2024-12-18 11:49:02 字数 183 浏览 1 评论 0原文

我知道有很多工具。我想找到一个好工具来告诉我缺少什么程序集。我遇到一个异常,说当我尝试运行 .NET 应用程序时,可能缺少一个依赖程序集。

更新

我想在实时服务器上测试它。因此,理想情况下,我可以在不更改服务器的情况下运行它。我可以在服务器上安装应用程序。

提前致谢。

I know there are many tools. I want to find out a good tool to show me what assembly is missing. I encountered an exception saying that one of the dependency assembly might be missing when I tried to run a .NET app.

UPDATE

I want to test it on live server. Thus, ideally, I can run it without changes to the server. I can install application on the server.

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

有深☉意 2024-12-25 11:49:02

要检查运行时绑定错误,一种简单有效的方法是打开 Fusion 日志(只需在注册表中将 HKLM\Software\Microsoft\Fusion\ForceLog 更改为 1)。这将允许您检查 Exception.FusionLog 属性中错误的详细日志,并通过 程序集绑定日志查看器

Scott Hanselman 有一篇关于这一点的很好的文章

To check for runtime binding errors, one simple and efficient way is to turn on Fusion log (just change HKLM\Software\Microsoft\Fusion\ForceLog to 1 in the registry). This will allow you to check the detailed logs on the error in the Exception.FusionLog property and also examine details via the Assembly Binding Log Viewer.

Scott Hanselman has a good article on the point.

街角迷惘 2024-12-25 11:49:02

我曾经使用过Dependeny Walker,专门针对.NET的是装配依赖分析​​器

I once used Dependeny Walker, specifically for .NET is the Assembly Depenency Analyser

乖乖公主 2024-12-25 11:49:02

我会考虑使用点网反射器:

http://en.wikipedia.org/wiki/.NET_Reflector

或来自 jet Brains 的 Dot Peek:

http://www.jetbrains.com/decompiler/

I would look at using the Dot Net Reflector:

http://en.wikipedia.org/wiki/.NET_Reflector

Or Dot Peek from jet brains:

http://www.jetbrains.com/decompiler/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文