This tutorial will show you how to add a library to your solution. We will be using the projLib argument to create a library called MyNewLibrary. 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 MyNewLibrary --outputType projLib
cd ..dotnet sln add src/MyNewLibrary/MyNewLibrary.fsproj