views:

70

answers:

2

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.

+7  A: 
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.

PostMan
A: 

@PostMan's answer is what you need (hence my +1 on that)

The MSBuild (4.0) debugger may also prove useful

Ruben Bartelink