Jan 16, 2014 at 2:26 PM
Edited Jan 17, 2014 at 8:02 PM
I am having an issue with the MVVM Light libraries that I can't seem to solve. I am using VS2013 C#. I have placed the GalaSoft MVVM libraries (MVVMLight.WPF45 and MVVMLight.Extras.WPF45) in a folder on my system. I then replaced the references in the
project with these files and set the Copy Local property to false.
The project compiles fine (no errors or warnings), but when run, I get this error:
System.TypeInitializationException was unhandled
Message: An unhandled exception of type 'System.TypeInitializationException' occurred in mscorlib.dll
Additional information: The type initializer for '[appName].App' threw an exception.
BTW - I get the same result just setting the Copy Local property to false without replacing the references. I am unable to set a breakpoint early enough in execution to catch the error.