当我在我的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.
以前有人遇到过这个问题吗?我不知道是什么导致了它。
答案 0 :(得分:12)
将我的评论转换为答案:
您必须已在Visual Studio的Debug -> Exceptions
对话框中检查了所有异常。取消选中所有“抛出”列