NAnt - External Program Failed
when i execute the below command for fxcop through nant, i get build succeeded message but with 1 non-fatal error and 3 warnings.
command:
<exec program="C:\Program Files\Microsoft FxCop 1.35\fxcopcmd.exe" commandline="/p:D:\test\fxcoptest.fxcop /f:D:\test\abc.dll /f:D:\test\def.dll /f:D:\test\ghi.dll /o:D:\test\fxcoptest.xml /forceoutput" failonerror="false"/>
error:
[exec] External Program Failed: C:\Program Files\Microsoft FxCop 1.35\fxcopcmd.exe (return code was 8)
warnings:
[exec] Could not load file: 'D:\test\abc.dll'
[exec] Could not load file: 'D:\test\def.dll'
[exec] Could not load file: 'D:\test\ghi.dll'
i want to avoid these errors and warnings. if anyone knows the solution, please respond.
|