vscode-csharp icon indicating copy to clipboard operation
vscode-csharp copied to clipboard

Installing C# dependencies has no progress

Open Svish opened this issue 5 years ago • 9 comments

Issue Type: Bug

My internet connection is slow. Trying to join a collaboration session, but been looking at this for over an hour now:

Installing C# dependencies... Platform: win32, x86_64

Downloading package 'OmniSharp for Windows (.NET 4.6 / x64)' (33520 KB).................... Done! Validating download... Integrity Check succeeded. Installing package 'OmniSharp for Windows (.NET 4.6 / x64)'

Downloading package '.NET Core Debugger (Windows / x64)' (41930 KB).................... Done! Validating download... Integrity Check succeeded. Installing package '.NET Core Debugger (Windows / x64)'

Downloading package 'Razor Language Server (Windows / x64)' (50835 KB)...........

You just can't use an indeterminate progress scroller thingy for downloads as large has these! It currently only shows the total size of the download, and it should at least also show download speed, time spent, and estimated time left.

Extension version: 1.21.17 VS Code version: Code 1.44.0 (2aae1f26c72891c399f860409176fe435a154b13, 2020-04-07T23:31:18.860Z) OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4790S CPU @ 3.20GHz (8 x 3200)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.95GB (14.95GB free)
Process Argv
Screen Reader no
VM 0%

Svish avatar Apr 14 '20 05:04 Svish

Same in Archlinux but my connection is not slow

ghost avatar Apr 14 '20 19:04 ghost

cc @NTaylorMullen - this sounds like more motivation to use the .NET runtime dependencies extension

cartermp avatar Apr 14 '20 20:04 cartermp

@NTaylorMullen - this sounds like more motivation to use the .NET runtime dependencies extension

Yup. /cc @sfoslund

NTaylorMullen avatar Apr 14 '20 20:04 NTaylorMullen

@NTaylorMullen - this sounds like more motivation to use the .NET runtime dependencies extension

Yup. /cc @sfoslund

Adding the .NET Core Extension Pack worked for me, thanks!

garyoneillj avatar Apr 18 '20 19:04 garyoneillj

Installing C# dependencies... Platform: win32, x86_64

Downloading package 'OmniSharp for Windows (.NET 4.6 / x64)' I m stuck in this phase

ajesh-ajayan avatar May 05 '20 19:05 ajesh-ajayan

same.

DId you get it fixed?

y4jun avatar Jun 10 '20 13:06 y4jun

Finally worked after restarting vscode couple times

Smoovsky avatar Aug 16 '20 02:08 Smoovsky

I think Microsoft is slowing down IPs that download too much. When I turned on VPN and reset VSCode, it downloaded in seconds. If you are trying to download at a software company like me. Use VPN.

CanavarB avatar Aug 31 '23 08:08 CanavarB

Same here with slow internet, And it's also the same with VPN (cuz my underlying connection is slow anyway !) This is really frustrating on every update, Is there a way to disable this, or like, cache the downloaded dependency from before and only download if required ? (which also reduces some load on the servers !)

DanteMarshal avatar Jun 19 '24 09:06 DanteMarshal

The worst part is that while it's downloading the new version, the old one stops working. It should do the download in a separate cache and do a switch at the end instead.

Kryptos-FR avatar Jul 10 '24 12:07 Kryptos-FR

The worst part is that while it's downloading the new version, the old one stops working. It should do the download in a separate cache and do a switch at the end instead.

Afaik there's no old version when you update the extension. Every time you update it, it seems to be removing the old extension's files and re-downloading the new ones (Even if they're not actually updated !)

DanteMarshal avatar Jul 11 '24 11:07 DanteMarshal