Need to disable auto-updating C# dependencies
See original GitHub issueI work in a secure environment so theres no internet connection, I can only manually transfer files to my machine from another machine with internet.
I’ve installed VSCode and the C# extension (via downloading the .visx), but the extension downloads other packages on first load which gives an error since theres no internet connection.
So every single time I start VSCode i’m greeted with an output window stating;
Updating C# dependencies...
...
Downloading package 'Mono Runtime (Linux / x64)' Failed at stage: downloadPackages
Error: getaddrinfo ENOTFOUND omnisharpdownload.blob.core.windows.net omnisharpdownload.blob.core.windows.net:443
...
Is there a way to stop the extension from attempting to update all the time so I don’t get greeted with the output window on each load?
I already have the following set;
update.channel : none,
extensions.autoUpdate: false
Even better, if there’s actually an alternative way to install the missing packages I would love to know!
Finally, even though i’m missing some packages I still use the C# extension for syntax highlighting etc.
Environment data
Platform: Linux, x86_64, Centos 7 VS Code version: 1.8.1 C# Extension version: 1.5.3 Offline machine (Internet connection is impossible)
Steps to reproduce
Fresh install the C# extension, disable your internet connection.
Expected behavior
Stop output window nagging on each fail, or update documentation on how to manually download missing packages.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top GitHub Comments
Instructions updated.
@Greyze Thanks!
The issue with chmod is caused because you packaged the extension on Windows. That is actually why we have the exception on line 95. I will add more details about that. Thanks!