[ERROR]: C# Extension failed to install the debugger package
See original GitHub issueEnvironment data
dotnet --info
output:
.NET Command Line Tools (2.1.4)
Product Information: Version: 2.1.4 Commit SHA-1 hash: 5e8add2190
Runtime Environment: OS Name: Windows OS Version: 10.0.15063 OS Platform: Windows RID: win10-x64 Base Path: E:\Programs\dotnetCore\current\sdk\2.1.4\
Microsoft .NET Core Shared Framework Host
Version : 2.0.5 Build : 17373eb129b3b05aa18ece963f8795d65ef8ea54
VS Code version: 1.22.2 C# Extension version: 1.14.0
Additional Info
Read the following links: https://github.com/OmniSharp/omnisharp-vscode/issues/991 https://github.com/OmniSharp/omnisharp-vscode/issues/994 https://github.com/OmniSharp/omnisharp-vscode/issues/1712 https://github.com/dotnet/core/issues/767
The following error shows in devtools: https://github.com/OmniSharp/omnisharp-vscode/blob/7f128dae95e3281cd49502ed095fbed53a83d6e9/src/coreclr-debug/activate.ts#L79
There should be a normal error indicating what the problem is and maybe even manual steps to fix this. This happened to me on a few system by now. Every time fixed by luck. I have removed the extension and reinstalled. I removed VSCode and reinstalled. Nothing helped.
Steps to reproduce
Install the C# extension
Expected behavior
Show the steps while installing the extension
Actual behavior
The following error is shown in the console: [ERROR]: C# Extension failed to install the debugger package
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (5 by maintainers)
Top GitHub Comments
@jgfoster The beta version contains some download validation and might fix the problem. You can install it by following the instructions here. Please let us know if this fixed the issue.
This issue is fixed in the latest beta(1.18.0-beta10) and the corresponding release(1.18.0) which is scheduled next week. I will close this issue now.