Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Visual Studio put timestamps in the build log?

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?

like image 974
Owen Avatar asked Sep 05 '08 18:09

Owen


2 Answers

Other option is to increase level of MSBuild verbosity.

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

Set MSBuild project build output verbosity to Normal. That will give you output like this:

------ Build started: MyProject, Configuration: Debug x86 ------ Build started 24/03/2014 08:46:18. ... Build succeeded.  Time Elapsed 00:00:05.18 
like image 86
Denis Palnitsky Avatar answered Oct 15 '22 18:10

Denis Palnitsky


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'

like image 26
Rob Walker Avatar answered Oct 15 '22 17:10

Rob Walker