简体   繁体   English

安装Visual Studio代码的离线C#依赖项

[英]Install offline C# dependencies for visual studio code

I'm starting with .net core and visual studio code. 我从.net核心和Visual Studio代码开始。 After create a .net core web app ( dotnet new web ) I installed the C# extension by OmniSharp in order to enable intellisense and debbuging. 创建一个.net核心Web应用程序( dotnet new web )后,我安装了OmniSharp的C#扩展名,以启用智能感知和调试功能。 Then when I restart VSCode a download is started to update C# dependencies. 然后,当我重新启动VSCode时,开始下载以更新C#依赖项。 All works ok in my work because I have internet connection, but this is not the case in my home. 我的工作正常,因为我可以连接互联网,但家里情况并非如此。 I have downloaded the C# extension offline but when I restart VSCode try to update the dependencies, here is when it fails. 我已经离线下载了C#扩展,但是当我重新启动VSCode时,尝试更新依赖项,这是失败的时候。 Is there any way to package the dependencies so I can perform an offline installation in my home? 有没有办法打包依赖项,以便我可以在家中执行脱机安装?

按照以下步骤,我终于能够为Visual Studio Code构建C#扩展的脱机安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM