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.

Improve experience downloading C# dependencies over slow internet

See original GitHub issue

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.0-preview2-1-003177)

Product Information:
 Version:            1.0.0-preview2-1-003177
 Commit SHA-1 hash:  a2df9c2576

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  16.04
 OS Platform: Linux
 RID:         ubuntu.16.04-x64

VS Code version: 1.8.1 C# Extension version: 1.6.1

Steps to reproduce

  1. Upgrade C# Extension and reload VSCode
  2. Open a C# file in a .NET Core project to trigger updating C# dependencies

Expected behavior

The update should finish in a reasonable time.

Actual behavior

In nearly all recent versions of updates of C# Extension, the downloading of the following packages is extremely slow and very often cannot finish, sometimes simply fails with connection error. I have to restart VSCode and again trigger the update. It has to re-download the files that have been successfully downloaded in the previous session. The following is the log hanging overnight.

Updating C# dependencies...
Platform: linux, x86_64, name=ubuntu, version=16.04 (ubuntu.16.04-x64)

Downloading package 'Mono Runtime (Linux / x64)' (1549 KB) .................... Done!
Downloading package 'Mono Framework Assemblies' (5828 KB) .................... Done!
Downloading package 'OmniSharp (Mono 4.6)' (16807 KB) .................... Done!
Downloading package '.NET Core Debugger (Ubuntu 16.04 / x64)' (47391 KB) ...

I wonder if it’s possible to allow alternative download links or cache what is done?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
karldoddcommented, May 4, 2017

Same issue. I guess this happens a lot in China, which is supposed to be a big market for VSCode : )

Please switch to a China-friendly link, or at least improve the download experience. Thanks.

0reactions
Mailaendercommented, Apr 18, 2020

At the moment it is painfully slow even with a fast DSL connection.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ideas for speeding up installing dependencies - Stack Overflow
1 Answer 1 ; a - download them from outside servers - at every build ; b - build them from repo sources...
Read more >
Why Is Your Download Speed Slow & How Can You Increase It?
Ways to Increase Your Download Speed · Restart Your Device · Run an Internet Speed Test · Close Apps You're Not Using ·...
Read more >
How To Increase Download Speed: 19 Tricks To SPEED UP ...
#2) Run Troubleshooter​​ One of the possible ways to increase download speed is by running a troubleshooter. It is possible that the potential ......
Read more >
How to Speed Up Slow Internet Connection on Mac
1. The first step to diagnosing a slow internet problem is to test your connection speed. Fast.com and Speedtest.net are two reliable services...
Read more >
Why is my internet so slow? 11 ways to speed up your ... - ZDNet
Connectivity drops, bottlenecks, lagged content streaming and downloads, and slow speeds are all common problems with home internet services -- ...
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