| You are viewing documentation of TeamCity 4.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version. |
|
If you experience any problems running VC++ build on a build agent, you can try to workaround these issues with the following steps, sequentially:
See Also:
|
1 Comment
comments.show.hideMay 27, 2009
Mike Nunan
I just ran into the problem with VCBuild.exe failing to spawn cmd.exe during a mixed C#/C++ solution build. I am using my own user account to run the build agent as a service, and the account is an admin on the box. Exposing the environment path via an echo in one of the earlier project shows that it contains the "system" portion of the path but not the "user" portion (as seen in Windows System Properties -> Advanced -> Environment Variables), and it is the user path that contains C:\WINNT\System32, which is where cmd.exe resides. I have worked around this by setting the full path in the buildAgent.properties as suggested above, but this looks like a bug in the build agent to me.