title: WPF Presentation Framework Exception :(
body: <p>So I am working on my final project for a summer course and I get this following exception. </p>
  
  <p>An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in PresentationFramework.dll</p>
  
  <p>Looking in the call stack, its doing all of its preprocessing, and it occurs. It isnt even starting my application so I dont think it could be my code. Is it possible I deleted some file on accident? My project was running fine. I made a few changes, one was adding a reference to a class I was going to use, but then changed my mind. I removed it, made some changes, and then went to run it, and bam! Yes, version control may of saved me from the issue, rookie mistake!</p>
  
  <p>Any help is appreciated!</p>
  
  <p>edit: there actually appears to be several exceptions, here is part of the output window</p>
  
  <blockquote>
    <p>A first chance exception of type 'System.NullReferenceException'
    occurred in StockAnalysis.exe A first chance exception of type
    'System.NullReferenceException' occurred in System.Xaml.dll A first
    chance exception of type 'System.NullReferenceException' occurred in
    PresentationFramework.dll A first chance exception of type
    'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
    A first chance exception of type
    'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
    A first chance exception of type
    'System.Reflection.TargetInvocationException' occurred in
    System.Xaml.dll A first chance exception of type
    'System.Reflection.TargetInvocationException' occurred in
    PresentationFramework.dll An unhandled exception of type
    'System.Reflection.TargetInvocationException' occurred in
    PresentationFramework.dll</p>
    
    <p>Additional information: Exception has been thrown by the target of an
    invocation.</p>
  </blockquote>