Search code examples
teamcityfxcop

TeamCity and FXCop version 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?


Solution

  • 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.