Skip to content

C# Extension: "Microsoft.CodeAnalysis.LanguageServer client: couldn't create connection to server" Error #7866

@Aaron-Wilhite

Description

@Aaron-Wilhite

I am getting an error message: "Microsoft.CodeAnalysis.LanguageServer client: couldn't create connection to server." Source: C#.

Environment data

dotnet --info output:
VS Code version:
Version: 1.95.3 (user setup)
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
Date: 2024-11-13T14:50:04.152Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045

C# Extension version: v2.55.29

Steps to reproduce

Upon opening VSCode I get the following: Image
Image

Additional context

It seems to be an administrator privilege issue, since this doesn't happen when I open VSCode as an admin.

I have tried:

  1. Uninstalling and reinstalling all related C#/.NET extensions and previous versions.
  2. Deleting them from the folder structure and reinstalling them.
  3. Uninstalling and reinstalling all corresponding .NET SDKs/Runtimes
  4. Uninstalling and reinstalling VSCode.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions