Search code examples
c#.netmsbuildbuild

Is there a Visual Studio Build Profiler?


My VS.NET 2008 solution is taking longer and longer to compile (ASP.NET 3.5 + ASP.NET MVC 2 + C#) and I am wondering if there is a way to know what project takes the longer to compile and why? I disabled the compilation of a few projects and it helped reduce the build time but I want it faster.


Solution

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

    Then change MSBuild project build output verbosity

    When on normal (defaul is minimal) it gives timings for each project, so this could be used to pin point what is causing the slow down. (Assuming you use the Output window)

    Or adjust to a higher level to see more detail of what is going on during a compile.