cannot compile hello.cs for gtk# using mono command prompt <p>Had hoped that <a href="http://stackoverflow.com/questions/8835352/cannot-compile-gtk-example">this</a> would help, but getting a different error. </p> <p>attempting to compile the following as hello.cs</p> <pre><code>using Gtk; using System; class Hello { static void Main() { Application.Init(); Window window = new Window("helloworld"); window.Show(); Application.Run(); } } </code></pre> <p>Compiling with the following command "gmcs hello.cs -pkg:gtk-sharp-2.0"</p> <p>depending on the command prompt, I'm receiving either cs0006 (mono cp) or cs2001 (win cp) saying that files cannot be found from mono cp it says that the metadata file cannot be found from win cp it says that source file cannot be found</p> <p>Here's a sample:</p> <pre><code>c:\Users\Stephen Lloyd\Desktop&gt;gmcs hello.cs -pkg:gtk-sharp-2.0 -r:C:/Program Files \(x86\)/Mono-2.10.8/lib/mono/gtk-sharp-2.0/pango-sharp.dll \(x86\)/Mono-2.10.8/lib/mono/gtk-sharp-2.0/atk-sharp.dll \(x86\)/Mono-2.10.8/lib/mono/gtk-sharp-2.0/gdk-sharp.dll \(x86\)/Mono-2.10.8/lib/mono/gtk-sharp-2.0/gtk-sharp.dll \(x86\)/Mono-2.10.8/lib/mono/gtk-sharp-2.0/glib-sharp.dll error CS2001: Source file `Files' could not be found error CS2001: Source file `\(x86\)/Mono-2.10.8/lib/mono/gtk-sharp-2.0/pango-sharp.dll' could not be found error CS2001: Source file `\(x86\)/Mono-2.10.8/lib/mono/gtk-sharp-2.0/atk-sharp.dll' could not be found error CS2001: Source file `\(x86\)/Mono-2.10.8/lib/mono/gtk-sharp-2.0/gdk-sharp.dll' could not be found error CS2001: Source file `\(x86\)/Mono-2.10.8/lib/mono/gtk-sharp-2.0/gtk-sharp.dll' could not be found error CS2001: Source file `\(x86\)/Mono-2.10.8/lib/mono/gtk-sharp-2.0/glib-sharp.dll' could not be found Compilation failed: 6 error(s), 0 warnings </code></pre> <p>In all cases the referenced .dlls are in that folder.</p> <p>Any thoughts?</p>