title: Click Once Deployment Requires Visual Studio Installation
body: <p>I try to deploy a Click Once Installer but run into a very strange issue: 
  The installer runs fine but as soon as the application is supposed to start it crashes with the following message</p>
  
  <blockquote>
    <p>[MyApp] has encountered a problem and needs to close. We are sorry for
    the inconvenience.</p>
  </blockquote>
  
  <p>and no useful information about the cause. As soon as I install Visual Studio Professional 2012 on the same machine, the application starts fine but sometimes behaves very strange (e.g. I have to click to red close button twice to close the application). Funny enough, the problem not always appears, I suspect it has something to do with the order in which I install the .Net Framework/Visual Studio/the Click Once installer.</p>
  
  <p>I am pretty much lost here .....</p>
  
  <p>Btw: The framework targetVersion and supportedRuntime of the Click-Once installer are 4.0 and 4.0.30319 respectively. </p>