Ben Robbins
Ben Robbins

Reputation: 2949

VS 2010: Prevent display of Build Summary in the output window

When you build in 'quiet' mode in Visual Studio 2008, the output looks like this:

Compile complete -- 0 errors, 0 warnings
------ Build started: Project: JLTA.JBS.UI.Office.VSTODocument, Configuration: Debug Any CPU ------
------ Build started: Project: JLTA.JBS.UI.Office.VSTOWorkbook, Configuration: Debug Any CPU ------
------ Build started: Project: JLTA.JBS.UI.GeneralLedgerUpdater, Configuration: Debug Any CPU ------

Compile complete -- 0 errors, 0 warnings
========== Build: 86 succeeded or up-to-date, 0 failed, 0 skipped ==========

This is good because the last two lines of the output quickly show me the result of the build (success/fail).

In Visual Studio 2010 Microsoft added a build summary after this. So, when I build in VS 2010 with the same settings (eg. 'quiet' option), I get the following displayed after the stuff that's already shown in VS 2008:

------ Build started: Project: JLTA.JBS.UI.TestBed, Configuration: Debug Any CPU ------
========== Build: 78 succeeded or up-to-date, 0 failed, 0 skipped ==========

Build Summary
-------------
00:06.772 - Success - UI\TestBed\JLTA.JBS.UI.TestBed.csproj
00:05.926 - Success - UI\Main\JLTA.JBS.UI.Main.csproj
... <bunch of lines deleted here>
00:00.035 - Success - Bus\Budget\JLTA.JBS.Bus.Budget.csproj
00:00.032 - Success - Core\JLTA.JBS.Core.csproj

Total build time: 01:06.088

This is a step backwards by MS, because now I have to scroll up in the build output window to see whether the build succeeded or not.

Is there any way of getting this back to the old VS 2008 behaviour?

Upvotes: 5

Views: 3465

Answers (2)

Jeff Yates
Jeff Yates

Reputation: 62377

This output is not from Visual Studio or MSBuild, it is provided by the VSCommands add-in - see this blog entry. You can investigate settings for that add-in and see if this summary can be disabled, or remove the add-in so that you no longer see this summary detail.

For those that are interested, I found this with this Google query.


archive.org 2011/12/30 mokosh.co.uk/post/tag/vscommands/
archive.org 2011/09/16 mokosh.co.uk/post/2010/05/03/vscommands-2-2-0-0-released/

Upvotes: 4

StingyJack
StingyJack

Reputation: 19469

I get it like VS2008 by selecting "Minimal" for project build output verbosity (Tools --> Options --> Projects and Solutions --> Build and Run)

Upvotes: 3

Related Questions