It Now Parses and Displays Errors Too


It_now_parses_and_displays_errors

As usual, today I was dealing with one unsolvable problem, namely launching the compiler and capturing the compiler output, because that is where the errors, warnings and messages are. The whole problem was that I should have put the compiler name into ProcessStartInfo.FileName and the arguments into ProcessStartInfo.Arguments, but I merged them together and put everything into FileName.

A really silly mistake, and of course I end up spending the whole day on it. Well, if I could at least remember it next time, it wouldn’t bother me that much. Now I’m going to build the output (which will be simple, because it will only contain the commands for calling resgen and csc) and then the task list, which will be quite new to me, because I still don’t know where the tasks are stored, whether in the sln file, the csproj file or somewhere else entirely…

Leave a Reply