[FxCop] If length of line is more than 90 words show warning
-
miércoles, 07 de marzo de 2012 9:35
Hi,
I am new to FxCop. I am using FxCop 1.36 with VS 2010. I am trying to do custom coding standards in FxCop. I want the rule set that 'If length of line is more than 90 characters' then a warning should show in the FxCop. How can i do this as a customization rule in FxCop. Can anyone help me out. Please tell what code I write in the class library.
Thanks,
Dathy
Todas las respuestas
-
miércoles, 07 de marzo de 2012 12:24You'll need to handle this through StyleCop, FxCop doesn't parse the sources.
My blog: blog.jessehouwing.nl
-
jueves, 08 de marzo de 2012 8:22Moderador
Hi Dathy,
I agree with Jesse’s suggestion, since the FxCop analyses the binaries not the source code.
Roahn gave us some useful information about this issue, please refer:
http://social.msdn.microsoft.com/Forums/en-US/vstscode/thread/c7236b88-1f38-40f6-9b92-d419540cd372
Best Regards,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
- Marcado como respuesta dathy domingo, 11 de marzo de 2012 13:27

