Monday, September 23, 2019

Setting Up Visual Code For ASP.NET Core 3.1 Development

 .

Setting Up Visual Code For Dot Net Development

Download and Install portable installer version

Download from:

https://portapps.io/download/vscode-portable-win64-1.67.2-46-setup.exe/ 

Alternative:

https://drive.google.com/file/d/1eU0c9vm9oQReG-azIznNhNAM4W2jdOco/view?usp=sharing 

Run portable installer

Exploring Project Folders

Through menu bar:

Through toolbar:

Click Open Folder.

Select your project folder.

Enable Trust check.

Install C# Extension

During the first time a c# program is opened, VC will recommend installation of C# extension.

Alternatively, extensions can be installed from the menu bar i.e. select menu/View/Extensions.

Type in the search box: C#

Alternatively, the extension can be obtained from online marketplace as well:

https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp 

Click install in the Extension panel of Visual Code

Wait for the installation process to complete.

Running Terminal Command

Select menu/Terminal/New_Terminal

Type: dotnet --version

Type: cd test1

Type: dotnet build

Type: dotnet run

Type: ls

Type: cd..

Type: dotnet new console -lang C# -o test1cs

.

No comments:

Post a Comment