Knowledgebase:
"Preparing build step" phase is really slow
Posted by Yoni Davidson on 05 January 2018 10:04 AM

Issue:

This can usually happen with C# builds but can also occur with C++ builds and it is related to Devenv.exe way of work  

In order to avoid this long phase, you can try to invoke the build directly with MSBuild: 

On the Initiator machine, please create the registry string value named UseMSBuild under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Xoreax\IncrediBuild\Builder and set its value to 1 

 

 Causes:

Starting from V9.01 IB will automatically force MSBuild and not use Devenv when it comes to C# builds. 

If your Visual Studio has only the C# Solution installed (no C++) the following error can occur: 

Initializing...  

The system cannot find the path specified.  

Active code page: 437  

'msbuild' is not recognized as an internal or external command, operable program or batch file. 

 

 Fix:

On the Initiator machine, please create the registry string value named ForceUseMSBuild under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Xoreax\IncrediBuild\Builder and set its value to 0.

(4 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako incredibuild.kayako.com