Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

vs2012 devenv.com not sending errors to strerr

$
0
0

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


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>