Quantcast
Channel: MVVM Light Toolkit
Viewing all articles
Browse latest Browse all 1826

Edited Unassigned: Exception, presumably because of missing file: WeakActionGeneric.cs [7608]

$
0
0
When using a
Messenger<Something>.Send(something)
method, occasionally a popup comes, titled:
Find Source: WeakActionGeneric.cs
This file selection window starts at the following location:
d:\GalaSoft\mydotnet\MvvmLight\Source\GalaSoft.MvvmLight\GalaSoft.MvvmLight (NET35)\Helpers\WeakActionGeneric.cs

I can't find the source to that file on my computer, and so I cancel the popup. This leads to the exception, which seems to contain only the following:

System.Reflection.TargetException occurred
HResult=-2146232829
Message=Non-static method requires a target.
Source=mscorlib
StackTrace:
at System.Reflection.RuntimeMethodInfo.CheckConsistency(Object target)
InnerException:


This exception and popup become can be seen with all exception checkboxes checked in the VS2012 DEBUG -> Exceptions window. Without any checkboxes checked, a silent failure occurs.

Viewing all articles
Browse latest Browse all 1826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>