FxCop的分析没有找到间接引用的程序

编程入门 行业动态 更新时间:2024-10-25 01:35:58
本文介绍了FxCop的分析没有找到间接引用的程序 - GAC问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在我对FxCop的DLL和它返回问题的形象在这里看到(这也抱怨System.Windows.Browser和System.Core程序,版本相同):

I am running my DLL against FxCop and it is returning problems as seen in the image here (It also complains about System.Windows.Browser and System.Core, same versions):

我已经告诉FxCop的搜索GAC,这是没有帮助。我必须在我的项目System.Runtime.Serialization引用,但它显示为4.0.0.0版本。我没有看到该文件的任何地方这一特定版​​本。

I have told FxCop to search the GAC and it isn't helping. I do have System.Runtime.Serialization referenced in my project but it is showing as version 4.0.0.0. I do not see this particular version of the file anywhere.

虽然我可以跳过这意味着,当我使用的FxCop集成在Visual Studio中,我不知道会发生什么,如果我试图融入一个自动构建失败。

Although I can skip it means it fails when I use FxCop Integrator in Visual Studio and I don't know what would happen if I tried to integrate into a automatic build.

但更重要的是,我如何修复它,因为我不喜欢不理解好奇,什么是错。

But more to the point I am curious as to how you fix it as I don't like not understanding whats wrong.

推荐答案

BCL的DLL与2.0.5.0版本的Silverlight 4中,您presumably没有您的开发机器上安装的一部分。既然你是presumably使得没有用的Esri.ArgGIS.Client.dll总成针对Silverlight的零件,你很可能忽略了警告。

BCL DLLs with version 2.0.5.0 are part of Silverlight 4, which you presumably have not installed on your dev machine. Since you are presumably making no use of the parts of the Esri.ArgGIS.Client.dll assembly that target Silverlight, you could probably safely ignore the warning.

似乎有关于这一问题的悬而未决的问题的FxCop的集成,所以你有三个基本的​​选择:

There seems to be an open issue for FxCop Integrator regarding this problem, so you have three basic choices:

  • 在保持事物,是希望无视这些警告的选项将在集成的FxCop合理很快出台,
  • 在停止使用的FxCop集成商,或者
  • 在安装Silverlight 4。
  • 有关自动化生成,其行为将取决于您的构建平台。而不是试图猜测一个自动生成可能会发生什么,你为什么不继续前进,并尝试呢?

    For automated builds, the behaviour will depend on your build platform. Instead of trying to guess what might happen in an automatic build, why don't you go ahead and try it?

    更多推荐

    FxCop的分析没有找到间接引用的程序

    本文发布于:2023-11-04 01:08:53,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1556542.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:没有找到   程序   FxCop

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!