You could right click, create new project
within the SOLUTION EXPLORER
.
Then Choose Class Library
, But ...
dotnet new list
use the dotnet
command instead when creating projects, building and running.
Type,
dotnet new list
for the options
Add --help
this to see the flags of a option
dotnet new webapi --help