Visual Studio 11 开发者预览版 - 打破 FxCop 静态分析 [英] Visual Studio 11 Developer Preview - Breaking FxCop Static Analysis

查看:35
本文介绍了Visual Studio 11 开发者预览版 - 打破 FxCop 静态分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装开发者预览版后,我们的自定义 FxCop 规则项目将无法构建,因为找不到以下 Dll:

After installing the Developer Preview our Custom FxCop rules project won't build as the following Dll's can't be found:

FxCopSdk.dll &Microsoft.Cci.dll

FxCopSdk.dll & Microsoft.Cci.dll

事实证明这是一个红鲱鱼,在其他机器上查看自定义规则的项目,它不会在没有正确重新引用上述dll的情况下构建(所以这是正常的)真正的问题是我们现有的build 使用的是 VS11 代码分析.

It turns out that this is a red herring, looking at the project for the custom rules on other's machines, it doesn't build without re-referencing the aforementioned dll's correctly (so that's normal) the real problem is that our existing build is using the VS11 code analysis.

我现在已经删除了 VS11,但它仍然无法工作!

I've now removed VS11 but it's still not working!

有什么想法吗?

更新:由于安装 vs11,我的构建批次默认为 VS11 版本,因此其他安装预览版的人不会发生这种情况 [而且他们也在使用 x64 windows 7]

Update: Since installing vs11 my build batch is defaulting to the VS11 version, this isn't happening on other who have installed the preview [and they are also using x64 windows 7]

推荐答案

我已经看到 VS2012 在几台机器上干扰 VS2010 的问题,到目前为止,很容易将机器弄平并从头开始重建.

I've seen problems with VS2012 interfering with VS2010 on a few machines so far it's been easy to flatten the machine and rebuild from scratch.

这篇关于Visual Studio 11 开发者预览版 - 打破 FxCop 静态分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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