I am trying to get devenv.com to send compiler errors to stderr. All I manage is for all the output to go to strout.
I used VS2012 Pro to create a KMDF kernel mode driver and introduces a syntax error into one of the 'C' files.
Created a cmd file to launch devenv.com
"%VS110COMNTOOLS%..\ide\devenv.com" .\testbld.sln %0 %1 %2 %3 %4 %5 %6 %7 /out vs_build_log.txt
Although the build found the error, no messages were sent to strerr. vs_build_log.txt contained the whole logfile, not just the error. I also tried redirecting strerr to a file which also met with failure.
I also tried using msbuild but that too met with failure.
Can the compiler error messages be sent to strerr and if so how?
Mike