简体   繁体   中英

Why is Snoop for WPF crashing when we try attaching it to our application?

When I run Snoop on my WPF application, my application crashes and I get an error saying "BindingFailure was detected". The details of the error are:

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.

Has anybody encountered this problem before? I have no clue what's causing it.

Converting my comment into an answer:

You must have checked all exceptions in the Debug -> Exceptions dialog in Visual Studio. Uncheck all "thrown" columns

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM