Support Statement: How does gmStudio run builds?
The command line used by gmStudio for builds is set in the gmStudio.cfg file:
NETMakeCmd = "cmd.exe /C pushd '%LogFolder%' && call '%SetEnvCmd%' %DevEnv% %PreCmd% '%MsBuildExe%' '%NetProjPath%' /t:Rebuild /p:Configuration=Debug /p:WarningLevel=1 /p:Platform=AnyCPU > '%MakeLogPath%' 2>&1 %PostCmd% popd" cmd.exe /C 1. pushd '%LogFolder%' && 2. call '%SetEnvCmd%' %DevEnv% 3. %PreCmd% 4. '%MsBuildExe%' '%NetProjPath%' /t:Rebuild /p:Configuration=Debug 5. /p:WarningLevel=1 /p:Platform=AnyCPU > '%MakeLogPath%' 2>&1 5. %PostCmd% 6. popd"
This does several operations:
- setting the working folder
- setting the .NET build environment
- running the pre-make batch processing
- running msbuild
- running any post-make batch processing
- restoring the working folder
The resulting log is viewable in gmStudio.