By default the CSC compiler writes all output to STDOUT. Is there a compiler option that can redirect the errors to STDERR?
I need this functionality to write all of the errors to a file. Another option would be to manually parse the output for errors with regex; however there should be a simpler solution.
No; all output always goes to Console.Out
.
You can see this in the source.
If you want to, you can send a pull request to change this.
You can also pass the /errorlog
option to write errors to a file.