July 2017
Beginner
466 pages
9h 37m
English
Let's learn how to create a .NET Core console application. Here, we will discuss how to create it from the CLI using the command dotnet new.
As we have already seen that the short name for the command line console application template is console, we will use it to create this type of project. By default, it creates the new project in the current directory with the name of the same directory, unless you specify the name.
Let's first create a console application with all default parameters/options. Open a console window and navigate to the directory of your choice. Then enter the following command to create a console application project:
dotnet new console
This will successfully create the console application ...
Read now
Unlock full access