Search code examples
visual-studio-2010performancebuild-processprofiler

How to find "slow" places when building a solution on VS2010?


Is there an instrument that can find me a place in my project which takes so long to build? Like performance profiler, but for the build process of Visual Studio.

P.S. I tried profiling my Visual Studio during build with another instance of VS, but I didn't get obvious results.


Solution

  • Tools -> Options -> Projects and Solutions -> Build and Run
    

    There you can change the MSBUild project build output verbosity settings

    When on normal level it will give timings for each project, so this could be used to see what is causing the slow down. (in the Output window)

    On a higher level you will see even more detail of what is going on during a compile.