I don't need to download the packages of C# dependencies every time I reopen my project it's consume the time. Also, when you have a slow internet connection like my case will be difficult to going on.
what I get when searching about solution is .vsix solution but it did't help.
Installing C# dependencies...
Platform: win32, x86_64
Downloading package 'OmniSharp for Windows (.NET 4.6 / x64)' (33778 KB).................... Done!
Validating download...
Integrity Check succeeded.
Installing package 'OmniSharp for Windows (.NET 4.6 / x64)'
Downloading package '.NET Core Debugger (Windows / x64)' (47489 KB).................... Done!
Validating download...
Integrity Check succeeded.
Installing package '.NET Core Debugger (Windows / x64)'
Downloading package 'Razor Language Server (Windows / x64)' (59571 KB).................... Done!
Installing package 'Razor Language Server (Windows / x64)'
Finished
Screenshot of downloading package after opening the project
What I need is to open asp.net core 2.2 projects without re-downloading packages of C# dependencies.
To start learning C programming, you only have to install the C compiler in your system. Nowadays, C and C++ both compilers come as a single integrated package, which serves the purpose of both C and C++ program development.
Any text editor like Notepad++, Emacs, the Windows Notepad program, EditPlus, TextMate, and others, can open and view a C file if it's a C/C++ source code file.
As Lex Li mentions in a comment:
I said that because I have an extension that does the same (same code from Omnisharp). Ever since VSCode started to auto update extensions, you as an end user might never realize how often an extension has been updated, and each update will trigger a full download of the dependencies (how VSCode works). So your personal feeling/understanding is far from the truth. Like I said, if you disable auto update, then those dependencies will be well cached, and you can update the extension while you have a good connection to download those dependencies again.
I have disabled VSCode auto update of the extensions to avoid it downloading the bits automatically and it's working well.
The Omnisharp repository has the document here. You could pack the platform-specific Omnisharp dependencies to a vsix package, and install it on the target computer offline.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With