FxCop 10报告缺少源信息中的排除 [英] FxCop 10 report with absent exclusions in source information

查看:63
本文介绍了FxCop 10报告缺少源信息中的排除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi all,

使用FxCop 1.35我们在

with FxCop 1.35 we did something like this within

FxCop项目文件中做了类似的事情:

a FxCop project file:

< SaveMessages>
<项目状态="有效,排除" NewOnly = QUOT假QUOT; />
< Report Status =" Active,Excluded,ExcludedInSource" NewOnly = QUOT假QUOT; />
< / SaveMessages>

<SaveMessages> <Project Status="Active, Excluded" NewOnly="False" /> <Report Status="Active, Excluded, ExcludedInSource" NewOnly="False" /> </SaveMessages>

因此我们报告了源代码中的所有排除项,然后我们将这些内容转换为html。

So we had all the exclusions in source reported and then we transformed that stuff to html.

现在我们使用Visual Studio和Server Builds运行FxCop 10,我们得到带有命名约定< DLL-Name> .CodeAnalysisLog.xml的结果文件,但结果文件只有Status =" Active",有no Status =" EcludedInSource"。但是我们需要一个报告,
包含源代码中的所有排除项,那么我们如何实现呢?

Now we run FxCop 10 with Visual Studio and also Server Builds and we get resultfiles with the naming convention <DLL-Name>.CodeAnalysisLog.xml but the resultfile has only Status="Active", there is no Status="EcludedInSource". But we need a report that contains all the exclusions in source, so how can we achieve that?

感谢任何提示和想法,

彼得

彼得

推荐答案

彼得,

为了清楚地说明这个问题,你的意思是XML报告没有显示被排除和不存在的消息吗?

Just to make this issue clearly, do you mean that the XML report doesn’t show excluded and absent messages?

如果你有同样的问题吗?在其他机器上使用FXCop10?如何创建新项目?

Does it have the same issue if you use the FXCop10 in other machine? How about creating a new project?

点击FXCop中的Project->选项。

Click the Project->options in the FXCop.

是否检查了所有选项?

也许你可以从David的建议中获得有用的信息" XML报告不显示排除和缺席的消息"

Maybe you could get useful information from the David’s suggestion in this thread "XML report doesnot show excluded and absent messages"

最好的问候,


这篇关于FxCop 10报告缺少源信息中的排除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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