"Preparing build step" phase is really slow
Posted by Yoni Davidson on 05 January 2018 10:04 AM
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
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:
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.
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.