TeamCity 和 FXCop 版本 10

发布于 2024-09-25 03:19:59 字数 429 浏览 1 评论 0原文

我们正在尝试让 TeamCity 5.1 安装使用 FXCop 项目文件。它显然不喜欢最新版本 V10:

[08:26:33]: Failed loading FxCop project.
[08:26:33]: Error text: This project file is version 10.0 but the current application version is 1.36. Please download a more recent version of FxCop to open this file..
[08:26:33]: Process exited with code 1

有没有办法升级 TeamCity 使用的版本,或者我是否需要降级我们在工作站上使用的版本?

有谁知道 TeamCity 6 是否支持 FXCop 10?

We are trying to get our TeamCity 5.1 installation to use our FXCop project file. It apparently does not like the newest version, V10:

[08:26:33]: Failed loading FxCop project.
[08:26:33]: Error text: This project file is version 10.0 but the current application version is 1.36. Please download a more recent version of FxCop to open this file..
[08:26:33]: Process exited with code 1

Is there a way to upgrade the version that TeamCity uses or do I need to downgrade the version we are using on our workstations?

Does anyone know if TeamCity 6 will support FXCop 10?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

独﹏钓一江月 2024-10-02 03:19:59

您应该能够在 FxCop Build Runner 选项卡上更改 FxCop 安装根目录。您需要首先在构建服务器/代理上安装 FxCop 10,或者将其置于源代码控制之下并使用 VCS 根(超出了本问题的范围)。

旁注: 提示用于安装 FxCop 10

You should be able to change the FxCop installation root on the FxCop Build Runner tab. You'll want to install FxCop 10 on the build server/agents first, or put it under source control and use a VCS root (beyond the scope of this question).

Side note: Tip for installing FxCop 10.

无语# 2024-10-02 03:19:59

TrueWill 给出了正确的答案。我想补充一点,我必须执行以下操作才能使其正常工作:

  1. 安装 FXCop 10(您可以从 7.1 Windows SDK 获取它)
  2. 更新 buildagent.properties 以包括:

    system.FxCopRoot=C:\Program Files\(x86)\Microsoft\ Fxcop\ 10.0

    system.FxCopCmdFileVersion=10.0.30319.1

    system.WindowsSDK7.1

  3. 重新启动构建代理.1。

TrueWill had the right answer. I wanted to add that I had to do the following to get it working:

  1. Install FXCop 10 (You can get it from the 7.1 Windows SDK)
  2. Update buildagent.properties to include:

    system.FxCopRoot=C:\Program Files\ (x86)\Microsoft\ Fxcop\ 10.0

    system.FxCopCmdFileVersion=10.0.30319.1

    system.WindowsSDK7.1

  3. Restart build agent.1.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文