Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

devenv.exe running in background

Status
Not open for further replies.

Crisps

Programmer
Sep 28, 2006
26
US
I am trying to set up some automated build stuff that uses devenv.exe for the build.

I can get my apps to build fine using something like

C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe" /rebuild Release /project ScriptHook.vcproj /projectconfig "Release|Win32" "ScriptHook.sln" /out Results.txt

The problem is that this returns ERRORLEVEL 0 instantly and then the compilation takes place in the background. My scripts are relying on knowning when devenv.exe is finished so that it can then package up the results.

How do I make devenv stay in the foreground like a normal DOS app. i.e. I want it to start compile then finish instead of start finish then compile.

BTW, this is Visual Studio 2003

Cheers,


 
Found the answer, run devenv.com instead of devenv.exe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top