How To Show Compilation Duration in Visual Studio

September 22, 2008

Just add /Y3 in the shortcut command line of VC++ 6.

“C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\MSDEV.EXE” /y3

The compiler will show how much time it took to compile the whole project.

In Visual Studio .NET, you can set this option under Options –> Projects –> Build.