Incredibuild Support has moved! Come join us at:
Slow "Preparing Build Tasks" phase
Posted by Yoni Davidson, Last modified by Yoni Davidson on 27 December 2017 09:08 AM
The "Preparing Build Tasks" phase is taking a very long time in some / all Solution.
If the problem started to happen after upgrading from VS2008 / VS2005 to VS2010 or higher, then the reason for this problem is the Devenv.exe process.
In some cases, the Devenv.exe is slower than the MSBuild process when it comes to Dependency calculation and this what causes the slow "Preparing Build Tasks" phase. If this problem indeed started after upgrading from an older Visual Studio version, please contact IncrediBuild support regarding this issue at email@example.com.
The other most common cause is the usage of "Microsoft .NET Fusion" for debugging purposes. The "Microsoft .NET Fusion" causes a vast amount of logging to occur which has a dramatic influence on Devenv.exe during the build process and therefore has an effect on the "Preparing Build Tasks" phase. These logging processes are important for debugging purposes, but there is no need to leave them on otherwise when building.
Disabling "Microsoft .NET Fusion" will solve the slow "Preparing Build Tasks" phase.