We use StyleCop in our project to get a common formatting of our code. Most of us also use Resharper, with which StyleCop integrates nicely.
We would like to mandate Copyright information in the header, but we do not want to mandate having the summary. So rule SA1633 is checked, and rule SA1639 is unchecked.
When we use Resharper (or more precisely, I assume, StyleCop's plugin to Resharper) to insert a file header, we get both Copyright information and a summary element. Standard procedure today is to delete the summary element, unless we actually want to write something there.
How do I stop the summary element from being automatically added?
I don't know a solution for R#, however, if you add the Copyright information using another utility, e.g. License Header Manager, you do not run into that problem. Maybe that helps until R# has added this feature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With