且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

FxCop 分析未找到间接引用的程序集 - GAC 问题?

更新时间:2022-02-21 04:01:09

2.0.5.0 版的 BCL DLL 是 Silverlight 4 的一部分,您可能尚未在开发机器上安装它.由于您可能没有使用面向 Silverlight 的 Esri.ArgGIS.Client.dll 程序集部分,因此您可以放心地忽略该警告.

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 Integrator 似乎有一个关于此问题的未决问题,因此您有三个基本选择:

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

  1. 保持原样,并希望 FxCop Integrator 很快会引入忽略这些警告的选项,
  2. 停止使用 FxCop Integrator,或
  3. 安装 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?