microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
207 stars 7 forks source link

[BUG] SSH Can't install 'ms-dotnettools.csharp' extension because it is not compatible with the current version of Visual Studio Code (version 1.90.2). #1245

Open Aevyz opened 1 week ago

Aevyz commented 1 week ago

Describe the Issue

Cannot install the plugin on remote SSH server (Debian ) on version 1.90.2 (latest). Works when installed locally. Other plugins, e.g. Python work when installed on SSH server.

Steps To Reproduce

  1. Have a server, which we want to SSH onto.
  2. Try Installing C# Dev Kit
  3. Receive Error: Can't install 'ms-dotnettools.csharp' extension because it is not compatible with the current version of Visual Studio Code (version 1.90.2).

Expected Behavior

Can Install C# Plugin

Environment Information

Windows Host

Version: 1.90.2 Commit: 5437499feb04f7a586f677b155b039bc2b3669eb Date: 2024-06-18T22:34:26.404Z Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.19045

SSH Server

root@SSH-SERVER-NAME:~/.vscode-server# ./cli/servers/Stable-5437499feb04f7a586f677b155b039bc2b3669eb/server/bin/code-server --version
1.90.2
5437499feb04f7

root@SSH-SERVER-NAME:~/.vscode-server# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Aevyz commented 1 week ago

Tried deleting the ~/.vscode-server folder. Did not help. Also tried deleting the relevant folders on the host system (new instance of vscode portable and deleted %appdata%/code). Did not help either