为什么当我们尝试将用于WPF的Snoop附加到我们的应用程序时它会崩溃?

本文关键字:我们 应用程序 崩溃 Snoop 用于 为什么 WPF | 更新日期: 2023-09-27 18:19:02

当我在我的WPF应用程序上运行Snoop时,我的应用程序崩溃了,我得到一个错误说"BindingFailure被检测到"。错误的详细信息如下:

The assembly with display name 'Snoop.XmlSerializers' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'Snoop.XmlSerializers, Version=2.8.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

以前有人遇到过这个问题吗?我不知道是什么原因。

为什么当我们尝试将用于WPF的Snoop附加到我们的应用程序时它会崩溃?

将我的评论转换成答案:

您必须在Visual Studio的Debug -> Exceptions对话框中检查所有异常。取消选中所有"抛出"列

相关文章: