Questions about FxCop Error Message...

I integrated Fxcop with CCNET and nant.

Everytime Fxcop runs, it shows an error message as follows:

C:\Build\ITIS-Daily\Source\HOME\master.build(516,4):External Program Failed: C:\Program Files\Microsoft FxCop 1.312\fxcopcmd.exe (return code was 514)

What does this message mean?

Please tell me how I can resolve this error message.

Thanks in advance.

Best regards,

Nam, Seungho

[1987 byte] By [SeunghoNam] at [2008-2-17]
# 1
Open the FxCop help file. Navigate to: FxCop 1.32\Using FxCopCmd\Error codes

Error

Numeric value

No errors

0x0

Analysis error

0x1 - fatal error

Rule exceptions

0x2

Project load error

0x4

Assembly load error

0x8

Rule library load error

0x10

Import report load error

0x20

Output error

0x40

Command line switch error

0x80

Initialization error

0x100

Assembly references error

0x200

Unknown error

0x1000000


I suppose we should render these in decimal as well. 514 decimal (0x202) indicates that there were missing assembly references, which resulted in rule exceptions at analysis time. Resolve the missing references and everything should work.

See the /directory switch documentation (also in the help file, under Command-Line Options).

Michael Fanning
VSTS Development: Code Analysis

MichaelFanning-MS 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