title: Debug a standalone exe from Visual Studio
body: <p>I have an executable that runs perfectly on my machine. It happens to be the machine that created it with Visual Studio 2015 Community.</p>
  
  <p>It fails to run however on other machines and creates the "Program has stopped working" and "Do you want to send more information about the problem" messages.</p>
  
  <p>How can I capture all the debug information from this program into a file so I can find out where the program is breaking. It appears to be failing before the promgram.cs file is running as I have placed msgbox as the first line which it never gets to, so I can only assume it is failing during the initial framework load or similar.</p>