Code Cleanup option isn't available in .Designer files. Is there any option to enable this feature?
How to Cleanup .Designer files using ReSharper?
724 Views Asked by Sadegh At
2
Code Cleanup option isn't available in .Designer files. Is there any option to enable this feature?
Remove the *.Designer.cs and/or *Designer.vb option from the Generated file masks area in ReSharper > Options > Code Inspection > Generated Code.
Be careful with cleaning them up, though, as in some cases doing so might render the code uncompilable.