很好的工具来分析.NET应用程序组件的依赖 [英] Good Tool to analyse assembly dependency in .NET application
问题描述
我知道有很多工具。我想找到一个很好的工具,告诉我什么组件缺失。我遇到了一个异常说,相关组件的一个可能会丢失,当我试图运行的.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.
更新
我要活的服务器上进行测试。因此,理想情况下,我可以运行它不改变服务器。我可以在服务器上安装应用程序。
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.
在此先感谢。
推荐答案
要检查运行时绑定的错误,一个简单而有效的方法是打开融合日志(只需更改 HKLM \软件\微软\融合\ ForceLog
1在注册表中)。这将允许您通过的 Exception.FusionLog 属性错误的详细记录,同时检查细节。 COM / EN-US /库/ e74a18c4%28V = VS.100%29.aspx>程序集绑定日志查看器。
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具有良好的<一个href="http://www.hanselman.com/blog/BackToBasicsUsingFusionLogViewerToDebugObscureLoaderErrors.aspx">article上的点。
Scott Hanselman has a good article on the point.
这篇关于很好的工具来分析.NET应用程序组件的依赖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!