Exercise – Configure Visual Studio Code Extensions
You can extend the capabilities of Visual Studio Code using extensions. Extensions are add-ons that provide additional functionality to Visual Studio Code. There are language extensions, theme extensions, and extensions that add new features to Visual Studio Code. Visual Studio Code supports the development of C# applications using C# language extensions and the .NET Software Development Kit (SDK).
The .NET SDK and .NET Runtime
.NET is a cross-platform, open-source developer platform that’s used to develop different types of applications. It includes the software languages and code libraries used to develop .NET applications. You can write .NET applications in C#, F#, or Visual Basic. The .NET platform is used to develop and run applications on Windows, macOS, and Linux. The .NET platform provides a runtime environment for running applications.
The .NET runtime is the code library that’s required to run your C# applications. You may also see the .NET runtime referred to as the Common Language Runtime, or CLR. The .NET runtime isn’t required to write your C# code, but it’s required to actually run your C# applications.
Visual Studio Code uses the .NET SDK and C# extensions to provide a development environment for writing, running, and debugging C# applications.
Configure Visual Studio Code Extensions
To install the C# Dev Kit extension for Visual Studio Code, complete the following steps:
- Ensure that you have Visual Studio Code open.
- On the Activity bar, select Extensions.
- In the Search Extensions in Marketplace textbox, enter C#Entering “C#” filters the list of extensions to show only the extensions that have something to do with C# coding.
- In the filtered list of available extensions, select the extension labeled “C# Dev Kit – Official C# extension from Microsoft” published by Microsoft.