Is there a way to exclude certain files from Resharper's Code Cleanup? I have a range of generated files I'd like to leave untouched.
I found the below question, however the answer's there are workaround's for the specific issue, and don't answer how to actually exclude files. (If it's possible)
Is there a resharper comment directive to disable code cleanup for a class?
If you go to ReSharper Options > Generated Code and add your file to the list of Generated Code or Generated File masks then it will be skipped by the Code Cleanup process.
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