Sashidhar Kokku

.NET and beyond...

<December 2008>
SuMoTuWeThFrSa
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910


Navigation

Blogs I visit...

Subscriptions

News

http://www.csthota.com/blogmap/ Listed on BlogShares Terror Alert Level TestDriven.NET Blogwise - blog directory

Post Categories



Reduce FxCop errors by using Custom Dictionaries.

Often there comes a time, when you really want to use FxCop as is, but keep getting annoyed with its stupid issues about spelling out the variable names properly. Some organizations want to use a "m" suffix for member data, and a "p" suffix for method parameters, and FxCop keeps yelling at that library...so...how do we overcome that ...well....to a certain extent? Create a custom dictionary !!!
  • Open MS word
  • Type in all the words you want to use in code into the dictionary, eg, company name, technology name.
  • Obviously MS Word will start yelling at you for these words don't make any sense.
  • Right click on them , and say "Add to dictionary"
and tadaaa....you are all set. Now, if you try to run FxCop on your existing code, it will complain less.

posted on Monday, May 23, 2005 9:01 PM by sskokku





Powered by Dot Net Junkies, by Telligent Systems