title: WPF application crash after ClickOnce publish
body: <p>I have a problem with ClickOnce publishing of a WPF application.</p>
  
  <ul>
  <li><p>If the application is built (debug or release), it is running correctly.</p></li>
  <li><p>Application published by ClickOnce crashes.</p></li>
  </ul>
  
  <p>I tried to change Target Platform. Sometimes this change helps to solve problems, but not every time (1 of 20 cases).</p>
  
  <p>I have Visual Studio 2008 and the project has been upgraded from Visual Studio 2005.</p>
  
  <p>Any ideas?</p>
  
  <p>Thank you in advance!</p>