tags:

views:

21

answers:

1

hi guys, i have question related fxcop

i need to run fxcop attribute which i have implemented in nant build file. i have nant and nantcontrib . i have copied content of nantcontrib\bin to nant\bin folder i have set environment variable to FxCopCmd.exe

then also i'm gettin' error when i run nant script :

invalid attribute (fxcop)

pls i need it deadly

A: 

It's a bit simpler to invoke FxCop directly from NAnt, without using the NAntContrib task, by using NAnt's exec task. For implementation details, have a look at an article I wrote about integrating NAnt and FxCop.

Grant Palin