Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ApoTheOne/242a863aee19331d6b53decae04fd1c9 to your computer and use it in GitHub Desktop.
Save ApoTheOne/242a863aee19331d6b53decae04fd1c9 to your computer and use it in GitHub Desktop.
OmniSharp for Windows and Debugger failed at stage install packages while Debugging .Net core project in Visual Studio Code
Error:
```
Installing C# dependencies...
Platform: win32, x86_64
Downloading package '.NET Core Debugger (Windows / x64)' Retrying from 'https://vsdebugger.blob.core.windows.net/coreclr-debug-1-14-7/coreclr-debug-win7-x64.zip'
Installing package '.NET Core Debugger (Windows / x64)'
Failed at stage: installPackages
Error: end of central directory record signature not found
Finished
```
=======================================================================================
Installing C# dependencies...
Platform: win32, x86_64
Fix:
- Download packages from the URL mentioned in the above error and place them in location:
C:\Users\UserName\.vscode\extensions\ms-vscode.csharp-1.14.0\.debugger
and for omnisharp copy the files in:
C:\Users\UserName\.vscode\extensions\ms-vscode.csharp-1.14.0\.omnisharp
This should fix the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment