Bug Report T707103
Visible to All Users

Decompiler - An unhandled exception is thrown at the startup of a standalone decompiler

created 6 years ago

[DevExpress Support Team: CLONED FROM T707058: CodeRush Decompiler won't load / crashes.]
Selecting CodeRush > Support > Extension Folder, then running (double click, no command line args) Decompiler\DecompilerApp.exe returns the following error:

C#
Unhandled exception: System.IO.FileLoadException Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER)) at DecompilerApp.Program.ImportServices() at DecompilerApp.Program.RunAppWithRemoteArgs(String[] strArgs) Inner exception: System.ArgumentNullException Value cannot be null. Parameter name: path1 at System.IO.Path.Combine(String path1, String path2) at DecompilerApp.Program.CurrentDomain_AssemblyResolve(Object sender, ResolveEventArgs args) at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
Comments (1)
DevExpress Support Team 6 years ago

    I have reproduced this issue.You will be notified when we prepare a fix.

    Answers approved by DevExpress Support

    created 6 years ago (modified 6 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 (3)
      DevExpress Support Team 6 years ago

        Hi Jefry,

        Thank you for contacting us.

        The 16.2 version has the Discontinue status and we don't plan to release official hotfixes for this version. But we have prepared a special 16.2 CodeRush build which includes the fix for this issue: DevExpress.CodeRush.Roslyn-16.2.8.19028.vsix.

          Thanks, I installed it but I do not see a GPL directory like the help information indicates I should.

          https://documentation.devexpress.com/CodeRushForRoslyn/116063/Decompiling-Tools/Standalone-Decompiler

          My intended use will be to decompile one of my older programs I do not have source code for. I do have the PDB files.

          DevExpress Support Team 6 years ago

            Hi Jefry,

            Thank you for informing us of your results.

            Please clarify what directory is missing on your side. Do you have the "CodeRush\Support\Extension Folder…" Visual Studio menu item? Or, doesn't this command open a corresponding folder on your side?

            Also, take note that CodeRush Decompiler can load only executable files (*.dll or *.exe) and doesn't process PDB files.

            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.