* Compiler.cs: mcs writes to stderr now.
[mono.git] / mcs / class / Cscompmgd / Microsoft.CSharp / Compiler.cs
index ee3a18bc454d218d15dfe28442ae318fb519ccaf..a7def6d141cea6112785091dbeb04c5bb6b4ab50 100644 (file)
@@ -103,7 +103,7 @@ namespace Microsoft.CSharp {
 
                        try {
                                mcs.Start ();
-                               mcs_output = mcs.StandardOutput.ReadToEnd();
+                               mcs_output = mcs.StandardError.ReadToEnd();
                                mcs.WaitForExit ();
                        } finally {
                                mcs.Close ();