Building console apps using Visual Studio Code
The goal of this section is to showcase how to build a console app using Visual Studio Code and the dotnet CLI.
If you never want to try Visual Studio Code or the dotnet
command-line tool, then please feel free to skip this section, and then continue with the Making good use of the GitHub repository for this book section.
Both the instructions and screenshots in this section are for Windows, but the same actions will work with Visual Studio Code on the macOS and Linux variants.
The main differences will be native command-line actions such as deleting a file: both the command and the path are likely to be different on Windows or macOS and Linux. Luckily, the dotnet
CLI tool itself and its commands are identical on all platforms.
Writing code using Visual Studio Code
Let’s get started writing code!
- Start your favorite tool for working with the filesystem, for example, File Explorer on Windows or Finder...