[FxCop] If length of line is more than 90 words show warning
-
07 Mart 2012 Çarşamba 09: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
Tüm Yanıtlar
-
07 Mart 2012 Çarşamba 12:24You'll need to handle this through StyleCop, FxCop doesn't parse the sources.
My blog: blog.jessehouwing.nl
-
08 Mart 2012 Perşembe 08:22Moderatör
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
- Yanıt Olarak İşaretleyen dathy 11 Mart 2012 Pazar 13:27