Knowledgebase
Slow "Preparing Build Tasks" phase
Posted by Yoni Davidson on 27 December 2017 09:08 AM

Issue:

The "Preparing Build Tasks" phase is taking a very long time in some / all Solution. 

Problem causes:

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 support@incredibuild.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.

Fix: 

Disabling "Microsoft .NET Fusion" will solve the slow "Preparing Build Tasks" phase.

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

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako xoreax.helpserve.com