title: WPF - Deployment Issue - Faulting Module Name: KERNELBASE.dll
body: <p>I am trying to install and run my first WPF application and am having a few issues. I have built a setup project and everything appears to be installing correctly, all my third party dll's are copied over, directories are created, etc... When I try to run the app, it just bombs immediately with the following error:</p>
  
  <p>Faulting application name: app.exe, version: 1.0.0.0, time stamp: 0x4f8343f3
  Faulting module name: KERNELBASE.dll, version: 6.1.7600.16850, time stamp: 0x4e211485
  Exception code: 0xe0434352
  Fault offset: 0x0000b9bc
  Faulting process id: 0xdec
  Faulting application start time: 0x01cd168e7b8a64fc
  Faulting application path: C:\Program Files (x86)\Some Dir\Some APP\app.exe
  Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
  Report Id: bad81009-8281-11e1-93ec-f4501845bd18</p>
  
  <p>How do I go about debugging this?? I have wrapped the InitializeComponent() in a try/catch but I'm getting nothing?</p>
  
  <p>All that being said, if I copy the contents of the debug directory to the program files directory on the same pc in which I am trying to install the app and then run the exe, everything works just fine?? What do I need to do differently in my setup project??</p>