How To Show Compilation Duration in Visual Studio

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.

Advertisements

2 Responses to How To Show Compilation Duration in Visual Studio

  1. This works! I tried it. (Visual Studio 6.0)
    I found this tip and others at
    http://www.cygnus-software.com/papers/precompiledheaders.html

  2. thedrs says:

    in new visual studio:
    tools->options->projects & solutions -> build & run

    change ‘ms project build verbosity’ to diagnostic.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: