title: Try-Catch in Program.cs only works when started from visual studio
body: <p>I tried to write a little crash reporter for uncatched expetions. This works perfectly when starting my App in VS.
  But as soon as I try to start the .exe it only shows me the standard "There is an uncaught expetion"-thingy from windows.
  And no it's not the crashreporter which crashes.</p>
  
  <p>This is my code in the Program.cs</p>
  
  <pre><code>        try
          {
              Application.Run(new TestServer());
          }
          catch (Exception e)
          {
              Application.Run(new CrashReporter(e.StackTrace.ToString()));
          }
      }
  </code></pre>