Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get devenv.exe to display its output on the console

Tags:

visual-c++

I'm using devenv /Rebuild but there's no output written to the console. That's annoying since I want to keep track of progress.

If I use /out log.txt then it writes to the "log.txt" which, of course, I can inspect after the build.

Perhaps there's some symbol foo that stands for the console so I could write /out foo?

like image 487
P45 Imminent Avatar asked Apr 17 '15 15:04

P45 Imminent


People also ask

What is Devenv command?

Devenv lets you set various options for the IDE, build projects, debug projects, and deploy projects from the command line. Use these switches to run the IDE from a script or a . bat file (such as a nightly build script), or to start the IDE in a particular configuration.

Where can I find Devenv exe?

Devenv.exe is located in a subfolder of "C:\Program Files (x86)"—usually C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\.

What is the difference between Msbuild and Devenv?

For us, the major difference is that devenv will handle installer projects (*. vdproj) while msbuild will not.


1 Answers

You can't.

But you can use devenv.com rather than devenv.exe (it's in the same directory). The former does write to the console, even if you use /out to write to a log file.

The command line arguments are identical.

like image 105
Bathsheba Avatar answered Sep 20 '22 18:09

Bathsheba