TeamCity 和 FXCop 版本 10
我们正在尝试让 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该能够在 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.
TrueWill 给出了正确的答案。我想补充一点,我必须执行以下操作才能使其正常工作:
更新 buildagent.properties 以包括:
system.FxCopRoot=C:\Program Files\(x86)\Microsoft\ Fxcop\ 10.0
system.FxCopCmdFileVersion=10.0.30319.1
system.WindowsSDK7.1
重新启动构建代理.1。
TrueWill had the right answer. I wanted to add that I had to do the following to get it working:
Update buildagent.properties to include:
system.FxCopRoot=C:\Program Files\ (x86)\Microsoft\ Fxcop\ 10.0
system.FxCopCmdFileVersion=10.0.30319.1
system.WindowsSDK7.1
Restart build agent.1.