-
Notifications
You must be signed in to change notification settings - Fork 728
Open
Description
Environment data
dotnet --info output:
VS Code version: 1.102.3
.NET SDK:
Version: 9.0.203
Commit: dc7acfa194
Workload version: 9.0.200-manifests.9df47798
MSBuild version: 17.13.20+a4ef1e90f
Runtime Environment:
OS Name: ubuntu
OS Version: 22.04
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/9.0.203/
.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.
Host:
Version: 9.0.4
Architecture: x64
Commit: f57e6dc747
.NET SDKs installed:
6.0.428 [/usr/share/dotnet/sdk]
9.0.203 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.4 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.4 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Visual code installled on windows machine and connected to .Net project by ssh.
Extention C# downloaded omnisharp version for .Net 6.
~/.vscode-server/extensions/ms-dotnettools.csharp-2.87.31-linux-x64/.omnisharp$ ls
1.39.12 1.39.12-net6.0
I see logs error in output for Omnisharp:
OmniSharp server started with .NET 9.0.203
(/usr/share/dotnet).
Path:/.vscode-server/extensions/ms-dotnettools.csharp-2.87.31-linux-x64/.omnisharp/1.39.12-net6.0/OmniSharp.dll
PID: 4179788
[STDERR] Could not execute because the specified command or file was not found.
I provided all values for my workspace visual code settings.json file, but it didn't help:
{
"omnisharp.dotnetPath": "/usr/share/dotnet",
"omnisharp.sdkPath": "/usr/share/dotnet/sdk/9.0.203",
"omnisharp.sdkVersion": "9.0.203",
"omnisharp.useModernNet": true
}