This procedure walks you through creating a new C# console project in Visual Studio Code using the C# Dev Kit extension.
Prerequisites#
- Visual Studio Code installed
- C# Dev Kit extension installed
Steps#
- Open Visual Studio Code.
- Open the Explorer panel by clicking the file icon in the left sidebar.
- Click Open Folder and choose a folder for your project, or create a new one.
- Open the Command Palette with
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac). - Type
.NET: New Projectand select it from the list. - Select Console App from the project templates.
- Enter a name for your project and press Enter.
- Confirm the folder where the project will be created and press Enter.
- When prompted for the solution file format, select .sln and press Enter.
Result#
Your project folder will contain: