dotnet / vscode-csharp

Official C# support for Visual Studio Code
MIT License
2.83k stars 653 forks source link

Installing C# dependencies has no progress #3724

Open Svish opened 4 years ago

Svish commented 4 years ago

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%|
ghost commented 4 years ago

Same in Archlinux but my connection is not slow

cartermp commented 4 years ago

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

NTaylorMullen commented 4 years ago

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

Yup. /cc @sfoslund

garyoneillj commented 4 years ago

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

ajesh-ajayan commented 4 years ago

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

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

y4jun commented 4 years ago

same.

DId you get it fixed?

Smoovsky commented 3 years ago

Finally worked after restarting vscode couple times

CanavarB commented 10 months ago

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.

DanteMarshal commented 1 week ago

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 !)