很好的工具来分析.NET应用程序组件的依赖很好、应用程序、组件、工具

2023-09-04 01:53:50 作者:别逼我变身

我知道有很多工具。我想找到一个很好的工具,告诉我什么组件缺失。我遇到了一个异常说,相关组件的一个可能会丢失,当我试图运行的.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在注册表中)。这将允许您通过的程序集绑定日志查看器。

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具有良好的article上的点。

Scott Hanselman has a good article on the point.

 
精彩推荐