Bug Report T540451
Visible to All Users

General - Visual Studio hangs on exporting CodeRush settings

created 8 years ago

Hi

I've made a couple of changes to my settings and as always I tend to export them out afterwards using the wizard. When I click the next button and get to the screen that says "Export Settings" - Green Ticked - e.g. after it's saved the zip file - VS 2017 freezes - I have to go into task manager and stop the task. It's done it a couple of times now and not sure why. Was fine in previous version (1.5)

I've attached the zip file it exported out.

I've pasted below the last few lines from the Coderush log file - some errors in there:

Information: No tests found
Information: No tests found
Information: No tests found
Information: No tests found
Information: No tests found
Information: No tests found
Information: No tests found
Information: No tests found
Information: No tests found
Information: No tests found
Information: No tests found
Information: ClipboardChanged
Information: ClipboardChanged
Information: ClipboardChanged
Error: Failed to set Global::NUM SUB binding for CodeRush.SelectionReduce
Error: Message: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
Error: Type: System.ArgumentException
Error: Source:
Error: StackTrace:    at EnvDTE.Command.set_Bindings(Object pVar)
   at DevExpress.CodeRush.Package.CommandServices.RegisterCommandKeyBinding(IAction action, Nullable`1 commandId)
Error: Failed to set Global::NUM PLUS binding for CodeRush.SelectionExpand
Error: Message: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
Error: Type: System.ArgumentException
Error: Source:
Error: StackTrace:    at EnvDTE.Command.set_Bindings(Object pVar)
   at DevExpress.CodeRush.Package.CommandServices.RegisterCommandKeyBinding(IAction action, Nullable`1 commandId)
Error: Failed to set Global::NUM ENTER binding for CodeRush.QuickNavigation
Error: Message: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
Error: Type: System.ArgumentException
Error: Source:
Error: StackTrace:    at EnvDTE.Command.set_Bindings(Object pVar)
   at DevExpress.CodeRush.Package.CommandServices.RegisterCommandKeyBinding(IAction action, Nullable`1 commandId)
Error: Failed to set Global::Ctrl+Alt+BACKSPACE binding for CodeRush.MultiSelectClear
Error: Message: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
Error: Type: System.ArgumentException
Error: Source:
Error: StackTrace:    at EnvDTE.Command.set_Bindings(Object pVar)
   at DevExpress.CodeRush.Package.CommandServices.RegisterCommandKeyBinding(IAction action, Nullable`1 commandId)

Comments (3)
AM AM
Alan Middleton999 8 years ago

    Just reran VS2017 and tried again with a new clean CR Log - file attached - it looks like binding issues. Will try again but with the "Sync CR Shortcuts / command key bindings" option tuned OFF - Currently this is on!

    DevExpress Support Team 8 years ago

      Hi Alan,
      Thanks for the attached log file. I have managed to reproduce this issue. We will notify you when we have any results.
      As a workaround, you can manually backup your settings files from the "%Appdata%\CodeRush\Settings" folder.

      AM AM
      Alan Middleton999 8 years ago

        Excellent glad to hear you can reproduce it. :)

        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.

          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.