Search code examples
.netvisual-studio-2008build-processdevenv

Is it possible to run devenv.exe in foreground?


I need to build a solution with CAB Project.
As far as I understand I should use devenv.exe in order to build CAB.
Following command line starts devenv.exe in background:
devenv.exe MyActiveX.sln /Rebuild "Release"

Is it possible to run devenv.exe in foreground?
I would like to get build traces not in file but to stdout.


Solution

  • You have to run devenv.com in this case which is the console application1. devenv.exe is a GUI application and therefore simply can't print anything to your current console.


    1 As dumpbin will tell you.