`Failed to find up to date dotnet cli on the path` Error Message Truncated
See original GitHub issueIssue Description
The error message buttons are truncated and may be difficult to read / see what they actually do.
Environment information
VSCode version: 1.60.1 C# Extension: 1.23.15
Mono Information
OmniSharp using built-in monoDotnet Information
Host (useful for support): Version: 6.0.0-rc.2.21460.8 Commit: 8bfc0302a2
.NET SDKs installed: 3.1.102 [/usr/local/share/dotnet/sdk] 5.0.202 [/usr/local/share/dotnet/sdk] 5.0.302 [/usr/local/share/dotnet/sdk] 6.0.100-preview.4.21255.9 [/usr/local/share/dotnet/sdk] 6.0.100-preview.5.21302.13 [/usr/local/share/dotnet/sdk] 6.0.100-preview.6.21355.2 [/usr/local/share/dotnet/sdk] 6.0.100-rc.2.21463.12 [/usr/local/share/dotnet/sdk] 6.0.100-rc.2.21465.13 [/usr/local/share/dotnet/sdk]
.NET runtimes installed: Microsoft.AspNetCore.App 3.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.0-preview.4.21253.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.0-preview.5.21301.17 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.0-preview.6.21355.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.0-rc.2.21460.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.0-preview.6.21352.12 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.0-rc.2.21460.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-download
Visual Studio Code Extensions
Extension | Author | Version |
---|---|---|
azure-account | ms-vscode | 0.9.8 |
csharp | ms-dotnettools | 1.23.15 |
EditorConfig | EditorConfig | 0.16.4 |
jupyter | ms-toolsai | 2021.8.2041215044 |
jupyter-keymap | ms-toolsai | 1.0.0 |
markdown-all-in-one | yzhang | 3.4.0 |
python | ms-python | 2021.9.1230869389 |
vscode-icons | vscode-icons-team | 11.6.0 |
vscode-paste-image | mushan | 1.0.4 |
vscode-pylance | ms-python | 2021.9.1 |
vscode-typescript-tslint-plugin | ms-vscode | 1.3.3 |
Console Output:
Downloading package ‘OmniSharp for OSX’ (38435 KB)… Done! Validating download… Integrity Check succeeded. Installing package ‘OmniSharp for OSX’
Downloading package ‘.NET Core Debugger (macOS / x64)’ (45945 KB)… Done! Validating download… Integrity Check succeeded. Installing package ‘.NET Core Debugger (macOS / x64)’
Downloading package ‘Razor Language Server (macOS / x64)’ (61258 KB)… Done! Installing package ‘Razor Language Server (macOS / x64)’
Finished
TypeError: Invalid Version: undefined
</details>
Issue Analytics
- State:
- Created 2 years ago
- Comments:20 (20 by maintainers)
Top GitHub Comments
I was wrong it ends up in the C# log…
This method https://github.com/OmniSharp/omnisharp-vscode/blob/d1785942e51f3afee1d8e62b406ee46b35168c63/src/coreclr-debug/util.ts#L68-L92 is throwing this error
TypeError: Invalid Version: undefined
Now to figure out why…
Not sure, but I’ll happily accept a PR for it. =)