FxCopCmd.exe returned error code 1024

I am getting this at the end of running code analysis:
FxCopCmd.exe returned error code 1024

Any help would be appreciated.

[130 byte] By [Anna1234] at [2007-12-17]
# 1
Are you attempting to invoke the FxCopCmd.exe tool directly? 1024 (0x400) is a special result code that indicates a message has occurred that should break the build.

Can you provide more context for your execution scenario?

MichaelFanning-MS at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...
# 2
No I am not running the FxCopCmd.exe tool directly. This is the very last message at the end of running code analysis within Visual Studio 2005RC1 connecting the VS Team Foundation beta 3.

Anna1234 at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...
# 3
This should never happen and I cannot reprooduce this issue. To help figure out what's going on, can you possibly send the <ProjectName>.CodeAnalysisLog.xml file (from the output directory next to the project binary) to nicholg <at> microsoft <dot-com>?

Thanks
Nick

NickGuerrera-MS at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...
# 4
Nick tracked this down, thanks to the information you provided. It turns out that the output in the event of a breaking violation for web app projects is obscure. The result code of 1024 indicates that you've elevated the status of an FxCop rule from 'warning' to 'build break' and that a violation of this kind has occurred. You should examine the output to see what FxCop message is flagged as an error because of your rule settings configuration.

There should certainly be a more meaningful message than the numeric result code. We will fix this problem as soon as we have the opportunity. Thanks for the problem report and very sorry for the inconvenience.

MichaelFanning-MS at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...
# 5

i have the same problem that since I'm using resource files my Code Analysis are failed with the code error 1024 on our Web-Project.

So what i did temporarly i disabled the checkbox "Enable Code Analysis" for the web.project.

any way that i can send you our CodeAnalysisLog.xml file?

thanks,

roni

http://netrsc.blogspot.com

RoniSchuetz at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...
# 6

Roni,

You can send it to me:

david DOT kean AT microsoft DOT com

Regards

David

DavidM.Kean-MSFT at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...

Visual Studio Team System

Site Classified