Bug Report T419766
Visible to All Users

Code Cleanup - Sort namespace references - The "Place System references first" option does not work

created 9 years ago

The Place System references first option does not work correctly

Visual Basic
Imports System.Data Imports ConsoleAppTest.MyTestNamespace Imports System.Windows.Forms Public Class Class1 Public Sub RunTest() Dim cls As New Class2 cls.Test() End Sub End Class Namespace MyTestNamespace Public Class Class2 Public Sub Test() Dim table As New DataTable Dim ctl As New Button End Sub End Class End Namespace

Code Cleanup for the above folder sorts the namespace references as follows.  They are sorted alphabetically but the system references are not first.

Visual Basic
Imports ConsoleAppTest.MyTestNamespace Imports System.Data Imports System.Windows.Forms
Comments (1)
AE AE
Alex Eg (DevExpress) 8 years ago

    Hi John,
    I have reproduced the issue, and we are working on it. I will notify you once we get any results.

    Answers approved by DevExpress Support

    created 8 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Show previous comments (2)

        That works much better.  Thanks.

        BTW - you might want to update your attached xml file.  It is not valid XML.  You left the closing bracket in the first Options tag

        XAML
        <Options Language="Visual Basic" />

        It does work with the fix

        DevExpress Support Team 8 years ago

          Hi John,
          Thanks for this information. I updated this file.

          AE AE
          Alex Eg (DevExpress) 8 years ago

            Hi John,
            We have corrected this issue and a build with the fix will be released soon.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.