question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[ERROR]: C# Extension failed to install the debugger package

See original GitHub issue

Environment 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:closed
  • Created 5 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
akshita31commented, Mar 6, 2019

@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.

0reactions
akshita31commented, Mar 15, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

C# Extension failed to install the debugger package · Issue #767
C# Extension failed to install the debugger package Hi All, I am trying to Debug .NET core C# code in VS code But...
Read more >
Error on installing C# Extension for VSCode - Stack Overflow
This issue occurs mainly because VS code is trying to download and install the file automatically which is prevented by corporate proxy. To ......
Read more >
Package Microsoft.Windows.Tools.WinIDE.Debugger ...
If im enabled WDK extension, then my project was loaded failure(infinite load vs). How install Microsoft.VisualStudio.Shell.Interop.SVsUIShell?
Read more >
VS Code & .NET Core: Offline Installation of Extensions and ...
In order to resolve this problem, you need to install the dependencies manually. The default location of VS Code extensions is "%USERPROFILE%.
Read more >
VS Code failed to install extension | Unable to open 'Extension: '
fix failed to install extension visual studio codeVisit Facebook Group : https://www.facebook.com/groups/579403183004720Visit Facebook Page ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found