构建摘要消失:错误和警告的数量 [英] Build summary disappeared: number of errors and warnings

查看:53
本文介绍了构建摘要消失:错误和警告的数量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,看到了类似的问题,但没有答案.如有任何最新消息,请尝试我的运气.

Hi, seen similar questions with no answers. Trying my luck in case there are any late news.

在VS2005中,vcbuild正在报告每个项目的警告和错误数量,例如:

In VS2005, vcbuild was reporting the number of warnings and errors for each project, such as:

MyProj -1个错误,  23警告

MyProj - 1 error(s), 23 warning(s)

在VS2012中,默认情况下不会报告此情况.

In VS2012 this is not reported by default.

我需要摘要来从完整的解决方案版本中组合自动报告.该怎么办?

I need the summary for assembling an automated report from the full solution build. How can that be done?

谢谢

gil_mo.

推荐答案

gil_mo,

Hi gil_mo,

从Visual Studio 2010开始,命令行工具vcbuild.exe已被msbuild.exe取代.但是,这不是导致您的问题的原因.我认为,我们可以在错误列表"中找到错误和警告.

From Visual Studio 2010, the command line tool vcbuild.exe has been replaced by msbuild.exe. However it is not the reason cause your issue. In my opinion, we can find the errors and warnings in the Error List.

我们可以从查看"->错误列表"中打开错误列表.

We can open the error list from View->Error List.

如果要在构建项目时看到更多详细日志,我们可以将详细程度设置为诊断(工具->选项->项目和解决方案->构建并运行).

If you want to see more detail log when you build the project, we can set the verbosity as diagnostic(Tools->Options->Projects and Solutions->Build and run).

这是一个博客,您可以在命令行上谈论VCBuild与C ++ MSBuild:

And here is a blog talking about VCBuild vs. C++ MSBuild on the Command Line you can refer to:

http ://blogs.msdn.com/b/vcblog/archive/2010/01/11/vcbuild-vs-c-msbuild-on-the-command-line.aspx

如果您对此问题还有其他疑问,请随时告诉我们.

If you have any more concerns about this issue, please feel free to let us know.

最好的问候


这篇关于构建摘要消失:错误和警告的数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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