【问题标题】:How can I debug System.DllNotFoundException when missing DLL is not reported?未报告缺少 DLL 时如何调试 System.DllNotFoundException?
【发布时间】:2011-05-16 18:54:46
【问题描述】:

我正在维护一个小型 .NET 应用程序,该应用程序在 .NET shell 中加载 GeckoFX webview。它适用于绝大多数机器,但在一台特定的 64 位 Windows 7 机器上,它会报告以下异常:

Description:
 Stopped working

Problem signature:
 Problem Event Name:   CLR20r3
 Problem Signature 01: monoclecatdesktop.exe
 Problem Signature 02: 1.0.0.0
 Problem Signature 03: 4db67550
 Problem Signature 04: Skybound.Gecko
 Problem Signature 05: 1.9.1.0
 Problem Signature 06: 4db625ff
 Problem Signature 07: 54
 Problem Signature 08: 87
 Problem Signature 09: System.DllNotFoundException
 OS Version:   6.1.7600.2.0.0.768.3
 Locale ID:    4105

我尝试使用 Dependency Walker 来定位丢失的 DLL,但没有任何反应。我对 Windows 编程很陌生,所以我不确定从哪里开始调试它。任何建议表示赞赏!

【问题讨论】:

    标签: .net windows dll dllnotfoundexception


    【解决方案1】:

    如果你可以使用process monitor。戴上过滤器,排除除您的流程之外的所有内容。然后寻找不成功的结果。

    【讨论】:

      猜你喜欢
      • 2014-02-07
      • 2016-08-01
      • 1970-01-01
      • 2018-07-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多