I am trying to compile a project from the command line, for example:
devenv.exe myproj.sln /build release
It looks like the code compiles well, but not all I need:
I want to be able to capture output (e.g. warnings, errors) from the compiler as they arise. Unfortunately, as soon as I issue the above command, I return to the command line.
When I look at process-explorer or taskmgr.exe, I see that the devenv.exe process (and several other subprocesses) are working. If I look in the output folder, I see that all my files gradually appear.
Is there a way to get VCC to work a bit more like GCC - when I issue a build command or make a project using the Makefile, I get a message flow and console blocks until the process completes.
Update: Thank you, two great solutions. I can confirm that it works.
source
share