Answer by aaron scheiber · Jul 11, 2012 at 05:06 PM
The main reason for this is that the USERPROFILE variable is mirrored from the Electric Make (eMake) machine to the agent machines. If that user name does not have an account on the agent machine, the devenv invocation will result in this error. To avoid this, there are three possible solutions (in order of best to worst):
Add %APPDATA% and %LOCALAPPDATA% to the eMake root:
Windows XP example:
"%USERPROFILE%\Application Data" "%USERPROFILE%\Local Settings\Application Data"
Windows 7 example:
"%USERPROFILE%\AppData\Roaming "%USERPROFILE%\AppData\Local
Ensure that USERPROFILE is not excluded from the environment.
Note: If the eMake machine is 64-bit and the agent machine is 32-bit (or vice versa), you must also apply these changes for "ALLUSERSPROFILE" and "APPDATA".
Speeding up the creation of makefiles with Visual Studio 2 Answers
Why are VS2010 and msbuild 4.0 builds slow? 1 Answer
My build breaks after upgrading to Visual Studio 2008 1 Answer
When using the ElectricAccelerator Visual Studio add-in, the build is broken by missing files 1 Answer
NMAKE : fatal error U1077 2 Answers
Electric Cloud powers Continuous Delivery, helping organizations developing deliver better software faster by automating and accelerating build, test, and deployment processes at scale. Industry leaders like Qualcomm, SpaceX, Cisco, GE, Gap, and E*TRADE use Electric Cloud solutions to boost DevOps productivity and Agile throughput.