This tutorial will show you how to add a library to your solution. We will be using the projConsole argument to create a library called MyNewConsoleApp. This template assumes you've already created a solution using the Tutorial.
src/ directory of your project:
cd src/dotnet new to create a new library project.
dotnet new mini-scaffold -n MyNewConsoleApp --outputType projConsole
cd ..dotnet sln add src/MyNewConsoleApp/MyNewConsoleApp.fsproj