-
Notifications
You must be signed in to change notification settings - Fork 428
Description
Issue Description
OmniSharp is not able to resolve correctly Uri class from System in Csharp script file csx.
This happens in WSL: Ubuntu. The script is running correctly when triggered by dotnet-script
When under Windows VS Code, everything including OmniSharp works just fine. No issue encountered.
Steps to Reproduce
Expected Behavior
Actual Behavior
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.50.1
C# Extension: 1.23.4
Mono Information
OmniSharp using built-in monoDotnet Information
.NET Core SDK (reflecting any global.json): Version: 3.1.403 Commit: 9e895200cdRuntime Environment:
OS Name: ubuntu
OS Version: 20.04
OS Platform: Linux
RID: ubuntu.20.04-x64
Base Path: /usr/share/dotnet/sdk/3.1.403/
Host (useful for support):
Version: 3.1.9
Commit: 774fc3d6a9
.NET Core SDKs installed:
3.1.403 [/usr/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.9 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.9 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
Visual Studio Code Extensions
Extension | Author | Version |
---|---|---|
csharp | ms-dotnettools | 1.23.4 |
gitlens | eamodio | 10.2.2 |
LiveServer | ritwickdey | 5.6.1 |
ng-template | Angular | 0.1001.0 |
python | ms-python | 2020.9.114305 |
restructuredtext | lextudio | 129.0.0 |
vscode-conventional-commits | vivaxy | 1.12.1 |