VS 2010的编译总结在输出窗口prevent显示 [英] VS 2010: Prevent display of Build Summary in the output window

查看:252
本文介绍了VS 2010的编译总结在输出窗口prevent显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2008中,当您打造安静模式生成输出窗口看起来是这样的:

In Visual Studio 2008 when you build in 'quiet' mode the build output window looks something 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 window quickly shows me the result of the build (success/fail).

在Visual Studio 2010中微软添加了一个构建总结的的这一点。所以,当我建立在VS 2010中使用相同的设置(例如,安静选项。)我得到以下后,这已经在VS 2008所示。这看起来像这样的东西显示:

In Visual Studio 2010 Microsoft have 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. This looks like this:

------ 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

这是一种退步通过MS因为现在我必须向上滚动生成输出窗口中看到构建成功与否。

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

有什么办法让这回老VS 2008的行为?

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

推荐答案

这个输出是不是从Visual Studio或MSBuild的,它是由的 VSCommands附加 - 看到的这个博客条目。你可以调查设置了附加,看看这个总结可以禁用或删除加载项,这样你再也看不到这个总结的细节。

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.

这篇关于VS 2010的编译总结在输出窗口prevent显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆