官术网_书友最值得收藏!

  • .NET Core 2.0 By Example
  • Rishabh Verma Neha Shrivastava
  • 274字
  • 2021-06-24 18:30:56

Installing .NET Core 2.0 and tools (Linux)

To install Visual Studio Code in Linux, download the .deb (32 bit) file from http://code.visualstudio.com/download, as shown in the following screenshot:

Open the folder location the .deb file has been downloaded to. Right-click and select Open in Terminal. This will open Terminal from this location. Run the following command:

sudo dpkg -i <fileName>.deb

<fileName>: Enter the filename that was downloaded, which is code_1.15.1-1502903950_i386.deb in our case, as shown in the following screenshot:

Right-click on the Downloads folder, and select Open in Terminal. It will display the following terminal window:

It may show error messages stating that dependencies have not been installed. Run the following command to install the dependencies:

sudo apt-get install -f

This will complete the installation of Visual Studio Code in this Ubuntu machine.

Now, let's install the .NET Core 2.0 SDK. Open the folder location where the dotnet-sdk-2.0.0 file is downloaded. Right-click and select Open in Terminal. It will open Terminal from this location. Run the following command:

 sudo apt-get install dotnet-sdk-2.0.0

Congratulations! We are all set to run Visual Studio Code! Please refer to the Installing Visual Studio Code section of this chapter to get an overview of Visual Studio Code.

Open Extensions View from the Visual Studio Code activity bar. Search F# and install the Ionide-fsharp extension for F# language support, as we discussed in the Installing Visual Studio Code section under the Install .NET Core 2.0 and tools (Windows) section.

Now, search C# and install the C# for Visual Studio Code (powered by OmniSharp) extension for C# language support.

主站蜘蛛池模板: 潼关县| 巍山| 儋州市| 陆河县| 岳西县| 江川县| 木兰县| 马龙县| 巢湖市| 连平县| 汉源县| 广宗县| 黑山县| 固始县| 南华县| 彰武县| 常州市| 尚志市| 石城县| 惠来县| 高尔夫| 汉中市| 云浮市| 平江县| 来安县| 永春县| 南皮县| 车致| 乐山市| 新丰县| 新野县| 调兵山市| 扎赉特旗| 富川| 开江县| 克拉玛依市| 行唐县| 聂荣县| 稻城县| 上虞市| 远安县|