Searches on this subject are completely confusing. I cannot yet find a
definitive and clear description of how to create FxCop custom dictionary
files.

 

My solution has dozens of project files, grouped by subsystem of the app. I
have an FxCop file for each subsystem and I want a custom dictionary for
each one. Can someone point me to clear instructions on this matter?

 

NOTE -- I'm returning to using FxCop in anger over the last week. After not
using it for over a year, I can tell you that it's cruel and unforgiving and
points out how undisciplined you can be. Old habits like catch (Exception)
returned and I had stale code, methods that could be static, incompletely
implemented serializable classes and sloppy naming. David K will be pleased
to know that it did in fact find my "bug" from last week where I forgot to
SuppressFinalize in some classes. I highly recommend that anyone starting
new projects should run FxCop as a part of their development process, it
stops bad coding habits, teaches you some tricks and enforces standards.

 

Some of the FxCop rules are really painful and repetitive and solving them
risks making your code more dense unless you jump through small hoops. I
plan to ask about them over the coming weeks and see how other people deal
with them.

 

Thanks

Greg

Reply via email to