Skip to content

Outdated System.Collections.Immutable.dll causing the language server to fail and the extension to be useless #677

Description

@deerware

Hello @anzwdev and everyone impacted by this.

Few months ago, VS Code had an update that broke this extension, this weekend I finally debugged it and figured out that the problem lies in the included language server executable. It was crashing immediately on start, due to an outdated dependency System.Collections.Immutable.dll .

After updating it in %USERPROFILE%\.vscode\extensions\andrzejzwierzchowski.al-code-outline-17.79.0\bin\netcore\win32 , everything is working fine. I did not create any PR for this, since I am not used to coding in C#, and I am unsure how to correctly update this dependency. (and I refuse to vibe code it.) I hope someone else picks up on this and updates it properly in the C# project.

I have tested that this solves at least the following issues:

The simplest fix is to replace the outdated file in the USERPROFILE directory with the updated one - see comment bellow by @zabcik

Alternatively, this is a .vsix file I created by carelessly replacing the necessary files directly in the .vsix, it is not a new compilation or a good release, again, I recommend updating it properly, but it may work for you, if you're missing this extension's features, like I am.
https://github.com/deerware/al-code-outline-fix/tree/master

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions