Hi,
Can we Enable/Disable the Fxcop rules In Nant build file.
For Example In Fxcop
DesignRules
GlobalizationRulesl
InteroperabilityRules
MobilityRules
NamingRules..
...
...
Default all rules are Enable.
Now i don't want to run all the rules i want to run only NamingRules
and DesignRules.
am using below task in nant build file but its running all the rules.
<target name="runFxCop">
<exec program="C:\Program Files\Microsoft FxCop 1.35\FxCopCmd.exe"
commandline="/p:test.fxcop /o:E:\fxcopPeirtest2.xml"
failonerror="false"/>
</target>
Thanks in advance.