-
Notifications
You must be signed in to change notification settings - Fork 728
Description
Issue Description
Steps to Reproduce
- install C# extension
- set
omnisharp.useModernNet=trueanddotnet.server.useOmnisharp=truein vscode's settings.json - create new csharp project with
dotnet new console - open directory with vscode
Expected Behavior
omnisharp will be downloaded from internet and start omnisharp process.
Actual Behavior
omnisharp downloading is failed and cannot start omnisharp process
Logs
OmniSharp log
[STDERR] Could not execute because the specified command or file was not found.
C# log
2025-02-06 02:56:42.555 [info] Downloading package 'Razor Language Server for OmniSharp (Linux / x64)'
2025-02-06 02:56:42.555 [info] Failed at stage: downloadPackage
2025-02-06 02:56:42.555 [info] TypeError: Cannot read properties of undefined (reading 'HttpsProxyAgent')
Environment information
VSCode version: 1.96.4
C# Extension: 2.63.32
Using OmniSharp: true
Mono Information
Unable to find Mono. Ensure that Mono's '/bin' folder is added to your environment's PATH variable.Dotnet Information
.NET SDK: Version: 8.0.404 Commit: 7b190310f2 Workload version: 8.0.400-manifests.7ab0bf57 MSBuild version: 17.11.9+a69bbaaf5Runtime Environment:
OS Name: ubuntu
OS Version: 24.04
OS Platform: Linux
RID: ubuntu.24.04-x64
Base Path: /usr/lib/dotnet/sdk/8.0.404/
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.
Host:
Version: 8.0.12
Architecture: x64
Commit: 89ef51c5d8
.NET SDKs installed:
6.0.428 [/usr/lib/dotnet/sdk]
8.0.112 [/usr/lib/dotnet/sdk]
8.0.404 [/usr/lib/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.36 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.8 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.11 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.12 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.36 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.8 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.11 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.12 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
| Extension | Author | Version | Folder Name |
|---|---|---|---|
| csharp | ms-dotnettools | 2.63.32 | ms-dotnettools.csharp-2.63.32-linux-x64 |
| csharp-ls | vytautassurvila | 0.0.24 | vytautassurvila.csharp-ls-0.0.24 |
| terraform | hashicorp | 2.34.3 | hashicorp.terraform-2.34.3-linux-x64 |
| vscode-dotnet-runtime | ms-dotnettools | 2.2.6 | ms-dotnettools.vscode-dotnet-runtime-2.2.6 |
Additional Info
My network is behind http proxy(squid)