"Cleanup Code" menu item is disabled and Cleanup Code option page is empty

The solution:

1) Open ReSharper | Extension Manager;

2) Find installed “ReSharper.StyleCop” plugin;

3) Remove it;

4) Install "StyleCop by JetBrains" plugin instead.


We unfortunately have two different versions of Stylecop plugins in the extension manager. The "ReSharper.StyleCop" version is causing issues.

The "StyleCop by JetBrains" version is maintained by us. We'd love to merge the two, but author of the original is currently not responding to any form of contact.


Ok that seems to be installed now... how to I use it to get a text export of all the methods used in the projects?



In my case, the problem is actually that files like RouteConfig.cs are considered "installed by a NuGet package" and they get excluded from Code Cleanup. I have no idea how to re-enable that functionality.


Please sign in to leave a comment.

Have more questions?

Submit a request