Current filter:
                                You should refresh the page.
                                  • When pressing Ctrl + .(period) and selecting Code Cleanup in a C# document I receive an error:
                                    'CodeCleanUpProvider' encountered an error and has been disabled.

                                    If I go to the CodeRush menu > Edit > Cleanup Document I get an message box with the error:
                                    One or more errors occurred

                                • Alex Eg (DevExpress) 09.02.2016

                                  Hi Stephen,
                                  This error message usually means that there were errors while handling a document. Can you please send us a document where the error occurred along with your settings (CodeRush\Support\Settings Folder)? Log files can also shed some light on the nature of the issue (CodeRush\Support\CodeRush Logs). Thanks in advance.

                                • Stephen Tutton 09.02.2016

                                  Here is a code file. I have identified the line that causes the issue. I have also attached my settings and log files.

                                  using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodeRushError { class CRCleanupError { public void CleanupError() { var myType = typeof(CRCleanupError); var myProps = myType.GetProperties(); // The GetProperties() call causes the error. Removing it fixes the problem. } } }
                                • Alex Eg (DevExpress) 09.02.2016

                                  Thank you for the provided information. I have reproduced the issue and we are working on it. We will update this ticket once we get results.

                                1 Solution

                                Creation Date Importance Sort by