Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

c#

wpf

snoop

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.

like image 897
Jason D Avatar asked Jun 19 '13 21:06

Jason D


1 Answers

Converting my comment into an answer:

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

like image 188
Federico Berasategui Avatar answered Oct 16 '22 08:10

Federico Berasategui