我正在使用Sonar 3.4.1,当我试图分析DotNet项目时,我在文件夹和文件名的仪表板中得到了‘null’值。
fxCop工具生成的fxcop-report.xml在XML文件中有标签,默认情况下应该有属性(确定性、级别、路径、文件、行)。但对于某些问题,它只有(确定性和级别)属性。请检查并让我知道为什么标签中没有其他属性。
还有Fxcop report.xml有一个下面的异常,请让我知道这是否会导致Fxcop report.xml出现问题。
<Exception Keyword="CA0060" Kind="Engine" TreatAsWarning="True">
<Type>Microsoft.FxCop.Sdk.FxCopException</Type>
<ExceptionMessage>
The indirectly-referenced assembly 'VBIDE, Version=5.3.0.0, Culture=neutral, PublicKeyToken=ee34b28a434d7478' could not be found.
This assembly is not required for analysis, however, analysis results could be incomplete.
This assembly was referenced by: E:\CCAP_Demo\DotNet\MAH_CHARLIE_Print_Application\source\Print\bin\Debug\Word.dll.
</ExceptionMessage>
</Exception>发布于 2013-11-08 21:50:59
它应该有属性(确定性、级别、路径、文件、行)。但对于某些问题,它只有(确定性和级别)属性。
FxCop使用PDB文件中的信息来提供位置信息。但是,PDB只包含对调试方案有用的信息,这意味着与不可执行代码(例如:接口定义)相关联的FxCop规则冲突将不会在报告中包含位置信息。
还有一个下面的异常,请让我知道这是否会导致fxcop-report.xml中的问题
当FxCop运行时,它找不到VBIDE程序集。可以使用sonar.fxcop.assemblyDependencyDirectories属性指定在声纳运行器执行时可以找到它的位置。
https://stackoverflow.com/questions/19852439
复制相似问题