Stylecop puts a copyright message when new file is created.
Sample message is specified below
// ———————————————————————–
//
// TODO: Update copyright text.
//
// ———————————————————————–
I want to include company name, and default message (instead of update the copyright text).
How to customize the above message ?
Open the StyleCop settings dialog (in the project context menu), and configure your company details in the Company Information tab. This will add the following settings to the Settings.StyleCop file:
Then if required you can configure the ReSharper StyleCop settings (in the ReSharper Code Cleanup options) to either leave the header alone, insert it if missing, update the copyright info, or replace the header completely.