MiniScaffold 0.37.1

Edit this page

Adding a library

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.

Steps

  1. Open a terminal and navigate to the src/ directory of your project:
    • cd src/
  2. Run dotnet new to create a new library project. dotnet new mini-scaffold -n MyNewLibrary --outputType projLib
  3. Navigate back to thr root of the repository and add the project to the solution file.
    • cd ..
    • dotnet sln add src/MyNewLibrary/MyNewLibrary.fsproj

Further Reading