title: C# to Mono GetConsoleWindow Exception
body: <p>I'm having some trouble with setting up my application to mono, it gives me a GetConsoleWindow Exception. I thought this would open a new window when you run it on windows, but in Mono, on CentOS 6 with Gnome it gives me this exception.</p>
  
  <p>error code:
  <p><code>Unhandled Exception:
  System.EntryPointNotFoundException: GetConsoleWindow
    at (wrapper managed-to-native) Silverwave.Program:GetConsoleWindow ()
    at Silverwave.Program.Main (System.String[] Args) [0x00000] in &lt;filename unkno                                                                                        wn&gt;:0
  [ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: GetConsol                                                                                        eWindow
    at (wrapper managed-to-native) Silverwave.Program:GetConsoleWindow ()
    at Silverwave.Program.Main (System.String[] Args) [0x00000] in &lt;filename unkno                                                                                        wn&gt;:0
  [root@h2297404 Debug]# Unhandled Exception:
  -bash: Unhandled: opdracht niet gevonden
  [root@h2297404 Debug]# System.EntryPointNotFoundException: GetConsoleWindow
  -bash: System.EntryPointNotFoundException:: opdracht niet gevonden</code></p>
  
  <p>thanks in advance</p>