Use error messages

I'm working on a problem getting FxCop to run under TeamCity. I get this error message

Cannot run process ThirdParty\Development\FxCop\FxCopCmd.exe /forceoutput /gac /ignoregeneratedcode /d:FinishedGoodsInspection\bin /project:FinishedGoodsInspection.FxCop /out:C:\TeamCity\buildAgent\temp\buildTmp\fxcop-output-1653195051217221304\fxcop-result.xml : file not found

How nice and quite difficult to track down. Of the three specified files, only the last one does not exist, but that's because it can't be generated. So... I have no idea what file is missing. Please provide better error reporting in the future.

1 comment
Comment actions Permalink

Hi Craig

This is an errorfor FxCopCmd.exe. I see you are using relative path. Is the tool actually placed into agent working directory?
Could you please post a screenshot of FxCop settings page, and teamcity-agent.log file.



Please sign in to leave a comment.