VS Code offline configuration of omnisharp and debugger, omnisharpdebugger

Source: Internet
Author: User

VS Code offline configuration of omnisharp and debugger, omnisharpdebugger

I have been paying attention to Microsoft dotnet core for more than a year and recently started to use it. Because our development environment cannot connect to the Internet, many plug-ins and configurations need to be installed offline, here we will share some of the plug-ins I have installed offline for your reference.

My installation environment is windows 7X64

VS Code version: ms-vscode.csharp-1.14.0

Dotnet Core Sdk: dotnet-sdk-2.1.101-win-x64

Asp dotnet core: aspNetCore.2.0.6.RuntimePackageStore _ x64

The installation directory of the VS Code plug-in is in the ". vscode" directory of the currently logged-on user: C: \ Users \ *** \. vscode \ extensions
After installing the C # Plug-in for VSCode, the "ms-vscode.csharp-1.14.0" directory is generated, full path: C: \ Users \ *** \. vscode \ extensions \ ms-vscode.csharp-1.14.0
When you open the C # project for the first time, you need to download omnisharp and debugger. to download and install the project online, you need to wait for the installation to complete.
For offline download, see the following content:
Open the project. json file under the ms-vscode.csharp-1.14.0 directory, find runtimeDependencies,
Omnisharp:

Debugger:


Download the zip package offline according to the download path in, decompress the zip package to the ". omnisharp" and ". debugger" folders under the ms-vscode.csharp-1.14.0 directory;
Create an empty install. LOCK file in the ms-vscode.csharp-1.14.0 directory
Re-open the VSCode C # project and you can run and debug it.

Note 1: how to create the. omnisharp and. debugger folders:
Create a folder> enter a file name. For file names starting with a dot, add a dot after the file name, that is,. omnisharp. And. debugger.
After you press enter, create the. omnisharp and. debugger folders.

NOTE 2: refer to the following blog post during the configuration process. Thank you to the blogger.

Http://www.lishewen.com/post/vscode-omnisharp-offline-configuration

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.