Why resharper adds // unsed comment to file

61 Views Asked by At

After cleaning up code with ctrl+E+C combination Resharper add the following two lines to my file

// unset

This happens only when using a custom cleanup profile. What may be the cause?

1

There are 1 best solutions below

0
Shadow On BEST ANSWER

This happens when the option "Update file header" is specified in reformat configuration, but file header is not configured.

This may happen when saving configs to team settings and moving between projects.