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,
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,