views:

523

answers:

4

In the build log I'd like to the start and end time of each project's compilation. Is there any way to get VS to do this?

+3  A: 

For VC++ builds you can enable build timing. Go to Tools->Options->Projects and Solutions->VC++ Project settings and choose the option for 'Build Timing'

Rob Walker
A: 

Not without modifying the actual project file (using a text editor) to add calls in to the MSBuild script targets.

Scott Dorman
A: 

Thanks. I guess that's as much as I can get it to tell me without doing a bunch of extra work.

Owen
+1  A: 

A new way I found is to call the Time command in the post event Pre and Post-build event command line:

TIME /T
Glennular