dotnet new console not working code example
Example 1: dotnet core sloution
dotnet new sln --name my-solution
dotnet new [type] --name my-project
dotnet sln add my-project/my-project.csproj
dotnet sln list
dotnet restore
dotnet build my-solution.sln
Example 2: dotnet create project command line
dotnet new console