Click here to Skip to main content
14,456,157 members
Rate this:
Please Sign up or sign in to vote.
Hi All,

Please help in implementing below custom rules in FXCOP,

1."No. of characters in a line of code should be less than 90"?
2. Remove commented code

Regards
Balu
Posted
Rate this:
Please Sign up or sign in to vote.

Solution 2

For source code style checking you should check out StyleCop[^] and StyleCop+[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 1

FxCop analyses binaries and not source code, so a rules about line length is non sense.
Unless compilation usage have greatly changed lately, comments are only in source code and never in binaries (even if technically possible to do otherwise), so same answer than for line length.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100